From: Rik van Riel Date: Mon, 23 Jun 2014 15:41:34 +0000 (-0400) Subject: sched/numa: Rework best node setting in task_numa_migrate() X-Git-Tag: omap-for-v3.17/fixes-against-rc2~177^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=db015daedb56251b73f956f70b3b8813f80d8ee1;p=pandora-kernel.git sched/numa: Rework best node setting in task_numa_migrate() Fix up the best node setting in task_numa_migrate() to deal with a task in a pseudo-interleaved NUMA group, which is already running in the best location. Set the task's preferred nid to the current nid, so task migration is not retried at a high rate. Signed-off-by: Rik van Riel Cc: mgorman@suse.de Cc: chegu_vinod@hp.com Cc: Linus Torvalds Signed-off-by: Peter Zijlstra Link: http://lkml.kernel.org/r/1403538095-31256-7-git-send-email-riel@redhat.com Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed