diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-09-13 16:42:35 +0200 |
---|---|---|
committer | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2016-02-13 00:34:56 +0100 |
commit | e5c8480bd66d3247cf4c977e86b770975301d3e3 (patch) | |
tree | b229d1f3e80271b10e7e902df49910e5351dfc4a | |
parent | c3630e5741f0c969783851f9b9eed7b53d1969d5 (diff) | |
download | rt-linux-e5c8480bd66d3247cf4c977e86b770975301d3e3.tar.gz |
sched: Disable TTWU_QUEUE on RT
The queued remote wakeup mechanism can introduce rather large
latencies if the number of migrated tasks is high. Disable it for RT.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-rw-r--r-- | kernel/sched/features.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/kernel/sched/features.h b/kernel/sched/features.h index 69631fa46c2f84..11258a0feae790 100644 --- a/kernel/sched/features.h +++ b/kernel/sched/features.h @@ -45,11 +45,16 @@ SCHED_FEAT(LB_BIAS, true) */ SCHED_FEAT(NONTASK_CAPACITY, true) +#ifdef CONFIG_PREEMPT_RT_FULL +SCHED_FEAT(TTWU_QUEUE, false) +#else + /* * Queue remote wakeups on the target CPU and process them * using the scheduler IPI. Reduces rq->lock contention/bounces. */ SCHED_FEAT(TTWU_QUEUE, true) +#endif #ifdef HAVE_RT_PUSH_IPI /* |