]> asedeno.scripts.mit.edu Git - linux.git/commit
sched/nohz: Run NOHZ idle load balancer on HK_FLAG_MISC CPUs
authorNicholas Piggin <npiggin@gmail.com>
Fri, 12 Apr 2019 04:26:13 +0000 (14:26 +1000)
committerIngo Molnar <mingo@kernel.org>
Mon, 29 Apr 2019 06:27:03 +0000 (08:27 +0200)
commit9b019acb72e4b5741d88e8936d6f200ed44b66b2
treee7f8828759e3a56d22c1b6a0e2a969a184c31c41
parentad2e379def135ebc079f89a0e0b1d987d243f949
sched/nohz: Run NOHZ idle load balancer on HK_FLAG_MISC CPUs

The NOHZ idle balancer runs on the lowest idle CPU. This can
interfere with isolated CPUs, so confine it to HK_FLAG_MISC
housekeeping CPUs.

HK_FLAG_SCHED is not used for this because it is not set anywhere
at the moment. This could be folded into HK_FLAG_SCHED once that
option is fixed.

The problem was observed with increased jitter on an application
running on CPU0, caused by NOHZ idle load balancing being run on
CPU1 (an SMT sibling).

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: https://lkml.kernel.org/r/20190412042613.28930-1-npiggin@gmail.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/sched/fair.c