diff options
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | 2008-03-19 06:43:36 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-04-19 13:44:59 -0400 |
commit | 112f53f5d700589de741dca67c77439e96ea94a7 (patch) | |
tree | 1faeaa6a25717b80c8ce0a51a9bf7f5f32d5ac08 /kernel/sched.c | |
parent | cd8ba7cd9be0192348c2836cb6645d9b2cd2bfd2 (diff) |
sched: old sleeper bonus
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/sched.c')
-rw-r--r-- | kernel/sched.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/kernel/sched.c b/kernel/sched.c index 521b89b01480..070eefdd90f5 100644 --- a/kernel/sched.c +++ b/kernel/sched.c | |||
@@ -680,6 +680,7 @@ enum { | |||
680 | SCHED_FEAT_SYNC_WAKEUPS = 32, | 680 | SCHED_FEAT_SYNC_WAKEUPS = 32, |
681 | SCHED_FEAT_HRTICK = 64, | 681 | SCHED_FEAT_HRTICK = 64, |
682 | SCHED_FEAT_DOUBLE_TICK = 128, | 682 | SCHED_FEAT_DOUBLE_TICK = 128, |
683 | SCHED_FEAT_NORMALIZED_SLEEPER = 256, | ||
683 | }; | 684 | }; |
684 | 685 | ||
685 | const_debug unsigned int sysctl_sched_features = | 686 | const_debug unsigned int sysctl_sched_features = |
@@ -690,7 +691,8 @@ const_debug unsigned int sysctl_sched_features = | |||
690 | SCHED_FEAT_CACHE_HOT_BUDDY * 1 | | 691 | SCHED_FEAT_CACHE_HOT_BUDDY * 1 | |
691 | SCHED_FEAT_SYNC_WAKEUPS * 1 | | 692 | SCHED_FEAT_SYNC_WAKEUPS * 1 | |
692 | SCHED_FEAT_HRTICK * 1 | | 693 | SCHED_FEAT_HRTICK * 1 | |
693 | SCHED_FEAT_DOUBLE_TICK * 0; | 694 | SCHED_FEAT_DOUBLE_TICK * 0 | |
695 | SCHED_FEAT_NORMALIZED_SLEEPER * 1; | ||
694 | 696 | ||
695 | #define sched_feat(x) (sysctl_sched_features & SCHED_FEAT_##x) | 697 | #define sched_feat(x) (sysctl_sched_features & SCHED_FEAT_##x) |
696 | 698 | ||