]> git.baikalelectronics.ru Git - kernel.git/commit
sched/numa: Decide whether to favour task or group weights based on swap candidate...
authorRik van Riel <riel@redhat.com>
Mon, 7 Oct 2013 10:29:31 +0000 (11:29 +0100)
committerIngo Molnar <mingo@kernel.org>
Wed, 9 Oct 2013 12:48:06 +0000 (14:48 +0200)
commit64e5b27f39b048f7d2a6901b0e45fcd6b370936c
tree9d7064eeb89e08c72b33ae973399ddac59468876
parentaf1a8c98ec5e0423a253d31bc81016d56184489b
sched/numa: Decide whether to favour task or group weights based on swap candidate relationships

This patch separately considers task and group affinities when searching
for swap candidates during task NUMA placement. If tasks are not part of
a group or the same group then the task weights are considered.
Otherwise the group weights are compared.

Signed-off-by: Rik van Riel <riel@redhat.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Mel Gorman <mgorman@suse.de>
Cc: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/1381141781-10992-54-git-send-email-mgorman@suse.de
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/sched/fair.c