]> git.baikalelectronics.ru Git - kernel.git/commit
sched/numa: Find the preferred nid with complex NUMA topology
authorRik van Riel <riel@redhat.com>
Fri, 17 Oct 2014 07:29:53 +0000 (03:29 -0400)
committerIngo Molnar <mingo@kernel.org>
Tue, 28 Oct 2014 09:47:51 +0000 (10:47 +0100)
commit6a83f253a37bb19e786c5e8d64fed799833f606e
tree73e6e82d23da0459a6c3e0d58b827e9bdde9b7a0
parent830e7f430753c2e77aff5ef9ef9a733dc5c06a00
sched/numa: Find the preferred nid with complex NUMA topology

On systems with complex NUMA topologies, the node scoring is adjusted
to allow workloads to converge on nodes that are near each other.

The way a task group's preferred nid is determined needs to be adjusted,
in order for the preferred_nid to be consistent with group_weight scoring.
This ensures that we actually try to converge workloads on adjacent nodes.

Signed-off-by: Rik van Riel <riel@redhat.com>
Tested-by: Chegu Vinod <chegu_vinod@hp.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: mgorman@suse.de
Cc: chegu_vinod@hp.com
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Link: http://lkml.kernel.org/r/1413530994-9732-6-git-send-email-riel@redhat.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/sched/fair.c