mm: numa: Change page last {nid,pid} into {cpu,pid}
authorPeter Zijlstra <peterz@infradead.org>
Mon, 7 Oct 2013 10:29:20 +0000 (11:29 +0100)
committerIngo Molnar <mingo@kernel.org>
Wed, 9 Oct 2013 12:47:45 +0000 (14:47 +0200)
commit90572890d202527c366aa9489b32404e88a7c020
tree0577f3b043e312f6d53e50105b236514f7df2455
parente1dda8a797b59d7ec4b17e393152ec3273a552d5
mm: numa: Change page last {nid,pid} into {cpu,pid}

Change the per page last fault tracking to use cpu,pid instead of
nid,pid. This will allow us to try and lookup the alternate task more
easily. Note that even though it is the cpu that is store in the page
flags that the mpol_misplaced decision is still based on the node.

Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Mel Gorman <mgorman@suse.de>
Reviewed-by: Rik van Riel <riel@redhat.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Link: http://lkml.kernel.org/r/1381141781-10992-43-git-send-email-mgorman@suse.de
[ Fixed build failure on 32-bit systems. ]
Signed-off-by: Ingo Molnar <mingo@kernel.org>
13 files changed:
include/linux/mm.h
include/linux/mm_types.h
include/linux/page-flags-layout.h
kernel/bounds.c
kernel/sched/fair.c
mm/huge_memory.c
mm/memory.c
mm/mempolicy.c
mm/migrate.c
mm/mm_init.c
mm/mmzone.c
mm/mprotect.c
mm/page_alloc.c