]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
sched/fair: Small cleanup to sched_balance_newidle()
authorPeter Zijlstra <peterz@infradead.org>
Fri, 7 Nov 2025 16:01:24 +0000 (17:01 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 11 Jan 2026 14:25:21 +0000 (15:25 +0100)
commit52aa889c6f57f00a5743bbc71a2e23d0660d5e2b
tree98f97aafe434af5a8a119fda4781d3ba73381b7b
parent4888e1dcc341e9a132ef7b8516234b3c3296de56
sched/fair: Small cleanup to sched_balance_newidle()

commit e78e70dbf603c1425f15f32b455ca148c932f6c1 upstream.

Pull out the !sd check to simplify code.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Dietmar Eggemann <dietmar.eggemann@arm.com>
Tested-by: Dietmar Eggemann <dietmar.eggemann@arm.com>
Tested-by: Chris Mason <clm@meta.com>
Link: https://patch.msgid.link/20251107161739.525916173@infradead.org
[ Ajay: Modified to apply on v6.12 ]
Signed-off-by: Ajay Kaher <ajay.kaher@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
kernel/sched/fair.c