]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
sched/fair: Small cleanup to sched_balance_newidle()
authorPeter Zijlstra <peterz@infradead.org>
Wed, 3 Dec 2025 11:25:50 +0000 (11:25 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 11 Jan 2026 14:19:25 +0000 (15:19 +0100)
commitfd0aec5abd67ed8e148d9dbbadff76e67a0a1cf8
treec22750c4593ea0837e7339e5a43d8c8c065840a9
parent1143f790a6316201dc8f067eba4c94ea97ecb6ca
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.1 ]
Signed-off-by: Ajay Kaher <ajay.kaher@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
kernel/sched/fair.c