Commit 52aa889
sched/fair: Small cleanup to sched_balance_newidle()
commit e78e70d 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>1 parent 4888e1d commit 52aa889
1 file changed
Lines changed: 6 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12864 | 12864 | | |
12865 | 12865 | | |
12866 | 12866 | | |
| 12867 | + | |
| 12868 | + | |
| 12869 | + | |
| 12870 | + | |
12867 | 12871 | | |
12868 | 12872 | | |
12869 | | - | |
| 12873 | + | |
12870 | 12874 | | |
12871 | | - | |
12872 | | - | |
| 12875 | + | |
12873 | 12876 | | |
12874 | | - | |
12875 | 12877 | | |
12876 | 12878 | | |
12877 | 12879 | | |
| |||
0 commit comments