diff options
Diffstat (limited to 'kernel/sched.c')
-rw-r--r-- | kernel/sched.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/kernel/sched.c b/kernel/sched.c index bf85b4b281c5..198b07a6d038 100644 --- a/kernel/sched.c +++ b/kernel/sched.c | |||
@@ -399,6 +399,8 @@ enum { | |||
399 | SCHED_FEAT_SLEEPER_AVG = 4, | 399 | SCHED_FEAT_SLEEPER_AVG = 4, |
400 | SCHED_FEAT_SLEEPER_LOAD_AVG = 8, | 400 | SCHED_FEAT_SLEEPER_LOAD_AVG = 8, |
401 | SCHED_FEAT_START_DEBIT = 16, | 401 | SCHED_FEAT_START_DEBIT = 16, |
402 | SCHED_FEAT_USE_TREE_AVG = 32, | ||
403 | SCHED_FEAT_APPROX_AVG = 64, | ||
402 | }; | 404 | }; |
403 | 405 | ||
404 | const_debug unsigned int sysctl_sched_features = | 406 | const_debug unsigned int sysctl_sched_features = |
@@ -406,7 +408,9 @@ const_debug unsigned int sysctl_sched_features = | |||
406 | SCHED_FEAT_NEW_FAIR_SLEEPERS *1 | | 408 | SCHED_FEAT_NEW_FAIR_SLEEPERS *1 | |
407 | SCHED_FEAT_SLEEPER_AVG *0 | | 409 | SCHED_FEAT_SLEEPER_AVG *0 | |
408 | SCHED_FEAT_SLEEPER_LOAD_AVG *1 | | 410 | SCHED_FEAT_SLEEPER_LOAD_AVG *1 | |
409 | SCHED_FEAT_START_DEBIT *1; | 411 | SCHED_FEAT_START_DEBIT *1 | |
412 | SCHED_FEAT_USE_TREE_AVG *0 | | ||
413 | SCHED_FEAT_APPROX_AVG *0; | ||
410 | 414 | ||
411 | #define sched_feat(x) (sysctl_sched_features & SCHED_FEAT_##x) | 415 | #define sched_feat(x) (sysctl_sched_features & SCHED_FEAT_##x) |
412 | 416 | ||