]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
sched/fair: Add newidle balance to pick_task_fair()
authorPeter Zijlstra <peterz@infradead.org>
Mon, 11 May 2026 11:31:12 +0000 (13:31 +0200)
committerPeter Zijlstra <peterz@infradead.org>
Tue, 26 May 2026 11:53:13 +0000 (13:53 +0200)
commitb3a2dfa8b42e5b97dd144aa59374f4e045725cac
tree23ec11f691f1844ba515e792ba0d066b6351867a
parente05777c44e53df8ab41d930510a384d65a34aafa
sched/fair: Add newidle balance to pick_task_fair()

With commit 50653216e4ff ("sched: Add support to pick functions to
take rf") removing the balance callback, the pick_task() callback is
in charge of newidle balancing.

This means pick_task_fair() should do so too. This hasn't been a
problem in practise because pick_next_task_fair() is used. However,
since we'll be removing that one shortly, make sure pick_next_task()
is up to scratch.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Vincent Guittot <vincent.guittot@linaro.org>
Link: https://patch.msgid.link/20260511120627.944705718@infradead.org
kernel/sched/fair.c