diff options
author | Mel Gorman <mgorman@suse.de> | 2013-10-07 10:29:29 (GMT) |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2013-10-09 12:48:02 (GMT) |
commit | 7dbd13ed06513b047216a7ffc718bad9df0660f1 (patch) | |
tree | 6f752254b51954b129fa3a35f44968342060afdb /usr | |
parent | 82727018b0d33d188e9916bcf76f18387484cb04 (diff) | |
download | linux-7dbd13ed06513b047216a7ffc718bad9df0660f1.tar.xz |
sched/numa: Prevent parallel updates to group stats during placement
Having multiple tasks in a group go through task_numa_placement
simultaneously can lead to a task picking a wrong node to run on, because
the group stats may be in the middle of an update. This patch avoids
parallel updates by holding the numa_group lock during placement
decisions.
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-52-git-send-email-mgorman@suse.de
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions