summaryrefslogtreecommitdiffstats
path: root/init/do_mounts.c
diff options
context:
space:
mode:
authorRik van Riel <riel@redhat.com>2014-05-15 13:03:06 -0400
committerIngo Molnar <mingo@kernel.org>2014-05-22 11:16:39 +0200
commitb1ad065e65f56103db8b97edbd218a271ff5b1bb (patch)
treea44ca4ffbfc2fcc618ac668daffda4ef57f4988e /init/do_mounts.c
parente63da03639cc9e6e83b62e7ef8ffdbb92421416a (diff)
downloadlinux-b1ad065e65f56103db8b97edbd218a271ff5b1bb.tar.gz
linux-b1ad065e65f56103db8b97edbd218a271ff5b1bb.tar.bz2
linux-b1ad065e65f56103db8b97edbd218a271ff5b1bb.zip
sched/numa: Update migrate_improves/degrades_locality()
Update the migrate_improves/degrades_locality() functions with knowledge of pseudo-interleaving. Do not consider moving tasks around within the set of group's active nodes as improving or degrading locality. Instead, leave the load balancer free to balance the load between a numa_group's active nodes. Also, switch from the group/task_weight functions to the group/task_fault functions. The "weight" functions involve a division, but both calls use the same divisor, so there's no point in doing that from these functions. On a 4 node (x10 core) system, performance of SPECjbb2005 seems unaffected, though the number of migrations with 2 8-warehouse wide instances seems to have almost halved, due to the scheduler running each instance on a single node. Signed-off-by: Rik van Riel <riel@redhat.com> Signed-off-by: Peter Zijlstra <peterz@infradead.org> Cc: mgorman@suse.de Cc: chegu_vinod@hp.com Link: http://lkml.kernel.org/r/20140515130306.61aae7db@cuia.bos.redhat.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'init/do_mounts.c')
0 files changed, 0 insertions, 0 deletions