diff options
author | Rik van Riel <[email protected]> | 2015-05-14 22:59:36 -0400 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2015-05-19 08:39:19 +0200 |
commit | c1ceac6276e4ee12e4129afd380db10fae0db7df (patch) | |
tree | 401ed45d2621e110c5c4699c317224066e6d87ab /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | 80ed87c8a9ca0cad7ca66cf3bbdfb17559a66dcf (diff) |
sched/numa: Reduce conflict between fbq_classify_rq() and migration
It is possible for fbq_classify_rq() to indicate that a CPU has tasks that
should be moved to another NUMA node, but for migrate_improves_locality
and migrate_degrades_locality to not identify those tasks.
This patch always gives preference to preferred node evaluations, and
only checks the number of faults when evaluating moves between two
non-preferred nodes on a larger NUMA system.
On a two node system, the number of faults is never evaluated. Either
a task is about to be pulled off its preferred node, or migrated onto
it.
Signed-off-by: Rik van Riel <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions