]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
sched: Disable TTWU_QUEUE on RT
authorThomas Gleixner <tglx@linutronix.de>
Tue, 28 Sep 2021 12:24:27 +0000 (14:24 +0200)
committerPeter Zijlstra <peterz@infradead.org>
Tue, 5 Oct 2021 13:52:12 +0000 (15:52 +0200)
commit539fbb5be0da56ffa1434b4f56521a0522bd1d61
tree7721f47f5779786d4543a9419dcaf3bb110be274
parent691925f3ddccea832cf2d162dc277d2623a816e3
sched: Disable TTWU_QUEUE on RT

The queued remote wakeup mechanism has turned out to be suboptimal for RT
enabled kernels. The maximum latencies go up by a factor of > 5x in certain
scenarious.

This is caused by either long wake lists or by a large number of TTWU IPIs
which are processed back to back.

Disable it for RT.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20210928122411.482262764@linutronix.de
kernel/sched/features.h