diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index a24661ac3d2351690fe23416ab36cd496fa4ec85..694c258b8771c578aaec87153429d2810f5557d6 100644 --- a/kernel/sched/fair.c +++ b/kernel/sched/fair.c @@ -8683,6 +8683,10 @@ void nohz_balance_enter_idle(int cpu) if (!cpu_active(cpu)) return; + /* Spare idle load balancing on CPUs that don't want to be disturbed: */ + if (!is_housekeeping_cpu(cpu)) + return; + if (test_bit(NOHZ_TICK_STOPPED, nohz_flags(cpu))) return;