summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2011-09-13 16:42:35 +0200
committerClark Williams <williams@redhat.com>2012-04-13 11:01:34 -0500
commitcf6c4baa336d9d4d9fa378c67a08bbfcd0c6f16b (patch)
tree841aeefd520a49e21bd8c00fc3f2d278e683265b
parent9e7ffec9bbdeb02d6449abf757377c80c701cc80 (diff)
sched-disable-ttwu-queue.patch
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-rw-r--r--kernel/sched/features.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/kernel/sched/features.h b/kernel/sched/features.h
index e61fd73913d0..8e047dd4e4e1 100644
--- a/kernel/sched/features.h
+++ b/kernel/sched/features.h
@@ -60,11 +60,15 @@ SCHED_FEAT(OWNER_SPIN, true)
*/
SCHED_FEAT(NONTASK_POWER, true)
+#ifndef CONFIG_PREEMPT_RT_FULL
/*
* Queue remote wakeups on the target CPU and process them
* using the scheduler IPI. Reduces rq->lock contention/bounces.
*/
SCHED_FEAT(TTWU_QUEUE, true)
+#else
+SCHED_FEAT(TTWU_QUEUE, false)
+#endif
SCHED_FEAT(FORCE_SD_OVERLAP, false)
SCHED_FEAT(RT_RUNTIME_SHARE, true)