summaryrefslogtreecommitdiffstats
path: root/kernel/sched/features.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2012-10-14 14:28:50 +0200
committerIngo Molnar <mingo@kernel.org>2012-10-16 10:05:27 +0200
commit8ed92e51f99c2199c64cb33b4ba95ab12940a94c (patch)
treeb7d067cc9db5379a0107e97a6b4dfe64afead461 /kernel/sched/features.h
parentsched: Update sched_domains_numa_masks[][] when new cpus are onlined (diff)
downloadlinux-8ed92e51f99c2199c64cb33b4ba95ab12940a94c.tar.xz
linux-8ed92e51f99c2199c64cb33b4ba95ab12940a94c.zip
sched: Add WAKEUP_PREEMPTION feature flag, on by default
As per the recent discussion with Mike and Linus, make it easier to test with/without this feature. No change in default behavior. Signed-off-by: Ingo Molnar <mingo@kernel.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Mike Galbraith <efault@gmx.de> Cc: Linus Torvalds <torvalds@linux-foundation.org> Link: http://lkml.kernel.org/n/tip-izoxq4haeg4mTognnDbwcevt@git.kernel.org
Diffstat (limited to 'kernel/sched/features.h')
-rw-r--r--kernel/sched/features.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/kernel/sched/features.h b/kernel/sched/features.h
index eebefcad7027..e68e69ab917d 100644
--- a/kernel/sched/features.h
+++ b/kernel/sched/features.h
@@ -32,6 +32,11 @@ SCHED_FEAT(LAST_BUDDY, true)
SCHED_FEAT(CACHE_HOT_BUDDY, true)
/*
+ * Allow wakeup-time preemption of the current task:
+ */
+SCHED_FEAT(WAKEUP_PREEMPTION, true)
+
+/*
* Use arch dependent cpu power functions
*/
SCHED_FEAT(ARCH_POWER, true)