diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-09-13 16:42:35 +0200 |
---|---|---|
committer | Luis Claudio R. Goncalves <lgoncalv@redhat.com> | 2023-02-18 22:05:18 -0300 |
commit | 0dd9be12db50e883fbf9df5c9bb2c77512640aa9 (patch) | |
tree | 074815db043c930495e4974f02bb95303a2ca202 /kernel | |
parent | e1a2cca164483b16d1da556ec7e94a018678159b (diff) | |
download | linux-rt-0dd9be12db50e883fbf9df5c9bb2c77512640aa9.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>
Diffstat (limited to 'kernel')
-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 f1bf5e12d889..402fd37fb340 100644 --- a/kernel/sched/features.h +++ b/kernel/sched/features.h @@ -45,11 +45,16 @@ SCHED_FEAT(DOUBLE_TICK, false) */ SCHED_FEAT(NONTASK_CAPACITY, true) +#ifdef CONFIG_PREEMPT_RT +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 /* * When doing wakeups, attempt to limit superfluous scans of the LLC domain. |