Commit 8ea9183
sched/fair: Cleanup newidle_balance
update_next_balance() uses sd->last_balance which is not modified by
load_balance() so we can merge the 2 calls in one place.
No functional change
Signed-off-by: Vincent Guittot <vincent.guittot@linaro.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Dietmar Eggemann <dietmar.eggemann@arm.com>
Acked-by: Mel Gorman <mgorman@suse.de>
Link: https://lore.kernel.org/r/20211019123537.17146-6-vincent.guittot@linaro.org1 parent c5b0a7e commit 8ea9183
1 file changed
Lines changed: 3 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10916 | 10916 | | |
10917 | 10917 | | |
10918 | 10918 | | |
10919 | | - | |
10920 | | - | |
| 10919 | + | |
| 10920 | + | |
| 10921 | + | |
10921 | 10922 | | |
10922 | | - | |
10923 | 10923 | | |
10924 | 10924 | | |
10925 | 10925 | | |
| |||
10935 | 10935 | | |
10936 | 10936 | | |
10937 | 10937 | | |
10938 | | - | |
10939 | | - | |
10940 | 10938 | | |
10941 | 10939 | | |
10942 | 10940 | | |
| |||
0 commit comments