Commit 0ac1ee9
sched/fair: Do not compute NUMA Balancing stats unnecessarily during lb
Aggregate nr_numa_running and nr_preferred_running when load balancing
at NUMA domains only. While at it, also move the aggregation below the
idle_cpu() check since an idle CPU cannot have any preferred tasks.
Signed-off-by: K Prateek Nayak <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Reviewed-by: Shrikanth Hegde <[email protected]>
Reviewed-by: Vincent Guittot <[email protected]>
Link: https://lore.kernel.org/r/[email protected]1 parent e1bc026 commit 0ac1ee9
1 file changed
+9
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10409 | 10409 | | |
10410 | 10410 | | |
10411 | 10411 | | |
10412 | | - | |
| 10412 | + | |
10413 | 10413 | | |
10414 | 10414 | | |
10415 | 10415 | | |
| |||
10433 | 10433 | | |
10434 | 10434 | | |
10435 | 10435 | | |
10436 | | - | |
10437 | | - | |
10438 | | - | |
10439 | | - | |
10440 | 10436 | | |
10441 | 10437 | | |
10442 | 10438 | | |
| |||
10446 | 10442 | | |
10447 | 10443 | | |
10448 | 10444 | | |
| 10445 | + | |
| 10446 | + | |
| 10447 | + | |
| 10448 | + | |
| 10449 | + | |
| 10450 | + | |
| 10451 | + | |
10449 | 10452 | | |
10450 | 10453 | | |
10451 | 10454 | | |
10452 | | - | |
| 10455 | + | |
10453 | 10456 | | |
10454 | 10457 | | |
10455 | 10458 | | |
| |||
0 commit comments