diff options
author | Mel Gorman <mgorman@techsingularity.net> | 2020-02-24 10:52:23 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2020-02-24 11:36:40 +0100 |
commit | a0f03b617c3b2644d3d47bf7d9e60aed01bd5b10 (patch) | |
tree | 4e2326bb2ff040ad2139c5fd0c6c3aa143c67a81 /Makefile | |
parent | sched/numa: Bias swapping tasks based on their preferred node (diff) | |
download | linux-a0f03b617c3b2644d3d47bf7d9e60aed01bd5b10.tar.xz linux-a0f03b617c3b2644d3d47bf7d9e60aed01bd5b10.zip |
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 <mgorman@techsingularity.net>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Vincent Guittot <vincent.guittot@linaro.org>
Cc: Juri Lelli <juri.lelli@redhat.com>
Cc: Dietmar Eggemann <dietmar.eggemann@arm.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Valentin Schneider <valentin.schneider@arm.com>
Cc: Phil Auld <pauld@redhat.com>
Cc: Hillf Danton <hdanton@sina.com>
Link: https://lore.kernel.org/r/20200224095223.13361-14-mgorman@techsingularity.net
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions