sched/numa: Add infrastructure for split shared/private accounting of NUMA hinting...
authorMel Gorman <mgorman@suse.de>
Mon, 7 Oct 2013 10:29:03 +0000 (11:29 +0100)
committerIngo Molnar <mingo@kernel.org>
Wed, 9 Oct 2013 10:40:30 +0000 (12:40 +0200)
commitac8e895bd260cb8bb19ade6a3abd44e7abe9a01d
treefe0d50baf0dad412fd7d5ba0286ce95e08a363ac
parente6628d5b0a2979f3e0ee6f7783ede5df50cb9ede
sched/numa: Add infrastructure for split shared/private accounting of NUMA hinting faults

Ideally it would be possible to distinguish between NUMA hinting faults
that are private to a task and those that are shared.  This patch prepares
infrastructure for separately accounting shared and private faults by
allocating the necessary buffers and passing in relevant information. For
now, all faults are treated as private and detection will be introduced
later.

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>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/1381141781-10992-26-git-send-email-mgorman@suse.de
Signed-off-by: Ingo Molnar <mingo@kernel.org>
include/linux/sched.h
kernel/sched/fair.c
mm/huge_memory.c
mm/memory.c