summaryrefslogtreecommitdiffstats
path: root/kernel/sched.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-03-19 01:39:19 +0100
committerIngo Molnar <mingo@elte.hu>2008-04-19 19:44:57 +0200
commit1fc8afa4c820fcde3658238eab5c010476ede521 (patch)
tree6a434a569bb8158e89d071c6d87a42f0fde3f697 /kernel/sched.c
parentsched: introduce SCHED_FEAT_SYNC_WAKEUPS, turn it off (diff)
downloadlinux-1fc8afa4c820fcde3658238eab5c010476ede521.tar.xz
linux-1fc8afa4c820fcde3658238eab5c010476ede521.zip
sched: feat affine wakeups
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/sched.c')
-rw-r--r--kernel/sched.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/kernel/sched.c b/kernel/sched.c
index 263e25e10204..7c5efad78c09 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -628,6 +628,7 @@ enum {
SCHED_FEAT_HRTICK = 8,
SCHED_FEAT_DOUBLE_TICK = 16,
SCHED_FEAT_SYNC_WAKEUPS = 32,
+ SCHED_FEAT_AFFINE_WAKEUPS = 64,
};
const_debug unsigned int sysctl_sched_features =
@@ -636,7 +637,8 @@ const_debug unsigned int sysctl_sched_features =
SCHED_FEAT_START_DEBIT * 1 |
SCHED_FEAT_HRTICK * 1 |
SCHED_FEAT_DOUBLE_TICK * 0 |
- SCHED_FEAT_SYNC_WAKEUPS * 0;
+ SCHED_FEAT_SYNC_WAKEUPS * 0 |
+ SCHED_FEAT_AFFINE_WAKEUPS * 1;
#define sched_feat(x) (sysctl_sched_features & SCHED_FEAT_##x)