diff options
| author | Cody P Schafer <[email protected]> | 2013-07-03 15:01:29 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2013-07-03 16:07:26 -0700 |
| commit | c8e251fadc6220261f6e0c6b8a4f1cdf27626165 (patch) | |
| tree | 434ddbf9a6fd9e9f62e8d04e8d7be8a2a0e19a59 /tools/perf/scripts/python/bin | |
| parent | 4008bab7b3969ad9f9dd1d02096a3f0aa5610bd2 (diff) | |
mm/page_alloc: prevent concurrent updaters of pcp ->batch and ->high
Because we are going to rely upon a careful transision between old and new
->high and ->batch values using memory barriers and will remove
stop_machine(), we need to prevent multiple updaters from interweaving
their memory writes.
Add a simple mutex to protect both update loops.
Signed-off-by: Cody P Schafer <[email protected]>
Cc: Gilad Ben-Yossef <[email protected]>
Cc: KOSAKI Motohiro <[email protected]>
Cc: Mel Gorman <[email protected]>
Cc: Pekka Enberg <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions