Commit c7ca7e0
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) <[email protected]>
Reviewed-by: Dietmar Eggemann <[email protected]>
Tested-by: Dietmar Eggemann <[email protected]>
Tested-by: Chris Mason <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>1 parent f1a77df commit c7ca7e0
1 file changed
Lines changed: 6 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12787 | 12787 | | |
12788 | 12788 | | |
12789 | 12789 | | |
| 12790 | + | |
| 12791 | + | |
| 12792 | + | |
| 12793 | + | |
12790 | 12794 | | |
12791 | 12795 | | |
12792 | | - | |
| 12796 | + | |
12793 | 12797 | | |
12794 | | - | |
12795 | | - | |
| 12798 | + | |
12796 | 12799 | | |
12797 | | - | |
12798 | 12800 | | |
12799 | 12801 | | |
12800 | 12802 | | |
| |||
0 commit comments