]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
sched/fair: Have SD_SERIALIZE affect newidle balancing
authorPeter Zijlstra <peterz@infradead.org>
Mon, 17 Nov 2025 16:13:09 +0000 (17:13 +0100)
committerPeter Zijlstra <peterz@infradead.org>
Mon, 17 Nov 2025 16:13:09 +0000 (17:13 +0100)
commit522fb20fbdbe48ed98f587d628637ff38ececd2d
treea9886dd3993f7d068ff918ed166bf9832db5db30
parent3324b2180c17b21c31c16966cc85ca41a7c93703
sched/fair: Have SD_SERIALIZE affect newidle balancing

Also serialize the possiblty much more frequent newidle balancing for
the 'expensive' domains that have SD_BALANCE set.

Initial benchmarking by K Prateek and Tim showed no negative effect.

Split out from the larger patch moving sched_balance_running around
for ease of bisect and such.

Suggested-by: Shrikanth Hegde <sshegde@linux.ibm.com>
Seconded-by: K Prateek Nayak <kprateek.nayak@amd.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/df068896-82f9-458d-8fff-5a2f654e8ffd@amd.com
Link: https://patch.msgid.link/6fed119b723c71552943bfe5798c93851b30a361.1762800251.git.tim.c.chen@linux.intel.com
# Conflicts:
# kernel/sched/fair.c
kernel/sched/fair.c