diff options
author | Mel Gorman <[email protected]> | 2013-10-07 11:29:29 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2013-10-09 14:48:02 +0200 |
commit | 7dbd13ed06513b047216a7ffc718bad9df0660f1 (patch) | |
tree | 6f752254b51954b129fa3a35f44968342060afdb /net/lapb/lapb_iface.c | |
parent | 82727018b0d33d188e9916bcf76f18387484cb04 (diff) |
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 <[email protected]>
Reviewed-by: Rik van Riel <[email protected]>
Cc: Andrea Arcangeli <[email protected]>
Cc: Johannes Weiner <[email protected]>
Cc: Srikar Dronamraju <[email protected]>
Signed-off-by: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions