diff options
author | Mel Gorman <[email protected]> | 2020-02-24 09:52:23 +0000 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2020-02-24 11:36:40 +0100 |
commit | a0f03b617c3b2644d3d47bf7d9e60aed01bd5b10 (patch) | |
tree | 4e2326bb2ff040ad2139c5fd0c6c3aa143c67a81 /lib/mpi/mpi-mul.c | |
parent | 88cca72c9673e631b63eca7a1dba4a9722a3f414 (diff) |
sched/numa: Stop an exhastive search if a reasonable swap candidate or idle CPU is found
When domains are imbalanced or overloaded a search of all CPUs on the
target domain is searched and compared with task_numa_compare. In some
circumstances, a candidate is found that is an obvious win.
o A task can move to an idle CPU and an idle CPU is found
o A swap candidate is found that would move to its preferred domain
This patch terminates the search when either condition is met.
Signed-off-by: Mel Gorman <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Acked-by: Peter Zijlstra <[email protected]>
Cc: Vincent Guittot <[email protected]>
Cc: Juri Lelli <[email protected]>
Cc: Dietmar Eggemann <[email protected]>
Cc: Steven Rostedt <[email protected]>
Cc: Valentin Schneider <[email protected]>
Cc: Phil Auld <[email protected]>
Cc: Hillf Danton <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/mpi/mpi-mul.c')
0 files changed, 0 insertions, 0 deletions