]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - kernel/sched/fair.c
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)
commit54009416ac3b5f219c0df68559ce534287ae97b1
tree73e6e82d23da0459a6c3e0d58b827e9bdde9b7a0
parent6c6b1193e71fed1a58dc3fab9d967d245177f87b
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