sched/numa: Build per numa_group active node mask from numa_faults_cpu statistics
authorRik van Riel <riel@redhat.com>
Mon, 27 Jan 2014 22:03:43 +0000 (17:03 -0500)
committerIngo Molnar <mingo@kernel.org>
Tue, 28 Jan 2014 12:17:06 +0000 (13:17 +0100)
commit20e07dea286a90f096a779706861472d296397c6
tree6144e5f9ed6d16fe4acbe280e87e15d4ff20c0a3
parent50ec8a401fed6d246ab65e6011d61ac91c34af70
sched/numa: Build per numa_group active node mask from numa_faults_cpu statistics

The numa_faults_cpu statistics are used to maintain an active_nodes nodemask
per numa_group. This allows us to be smarter about when to do numa migrations.

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-5-git-send-email-riel@redhat.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/sched/fair.c