]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit866b9fde3f958d90d998246e415c30608ef28abb
tree0577f3b043e312f6d53e50105b236514f7df2455
parent298860c606b042045edc912897beb6f6cdeb3d8b
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