sched/numa: Track from which nodes NUMA faults are triggered
authorRik van Riel <riel@redhat.com>
Mon, 27 Jan 2014 22:03:42 +0000 (17:03 -0500)
committerIngo Molnar <mingo@kernel.org>
Tue, 28 Jan 2014 12:17:05 +0000 (13:17 +0100)
commit50ec8a401fed6d246ab65e6011d61ac91c34af70
treea78aa3c23bb9837be712d72a39c19b3d7246170d
parentff1df896aef8e0ec1556a5c44f424bd45bfa2cbe
sched/numa: Track from which nodes NUMA faults are triggered

Track which nodes NUMA faults are triggered from, in other words
the CPUs on which the NUMA faults happened. This uses a similar
mechanism to what is used to track the memory involved in numa faults.

The next patches use this to build up a bitmap of which nodes a
workload is actively running on.

Signed-off-by: Rik van Riel <riel@redhat.com>
Acked-by: Mel Gorman <mgorman@suse.de>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Cc: Chegu Vinod <chegu_vinod@hp.com>
Link: http://lkml.kernel.org/r/1390860228-21539-4-git-send-email-riel@redhat.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
include/linux/sched.h
kernel/sched/fair.c