sched/numa: Take false sharing into account when adapting scan rate
authorMel Gorman <mgorman@suse.de>
Mon, 7 Oct 2013 10:29:35 +0000 (11:29 +0100)
committerIngo Molnar <mingo@kernel.org>
Wed, 9 Oct 2013 12:48:14 +0000 (14:48 +0200)
commit3e6a9418cf05638b103e34f5d13be0321872e623
tree5ef3c692c7cd728f53ebabcfebdc94a21db7a8ea
parentdabe1d992414a6456e60e41f1d1ad8affc6d444d
sched/numa: Take false sharing into account when adapting scan rate

Scan rate is altered based on whether shared/private faults dominated.
task_numa_group() may detect false sharing but that information is not
taken into account when adapting the scan rate. Take it into account.

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-58-git-send-email-mgorman@suse.de
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/sched/fair.c