diff options
| author | Andrea Arcangeli <[email protected]> | 2016-10-07 17:01:22 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2016-10-07 18:46:29 -0700 |
| commit | 6d2329f8872f23e46a19d240930571510ce525eb (patch) | |
| tree | 598cc5a8d764aa497570b359fc1328be5fa105cc /tools/lib | |
| parent | 6213055f2c068b63078649457391ecea9b489ea3 (diff) | |
mm: vm_page_prot: update with WRITE_ONCE/READ_ONCE
vma->vm_page_prot is read lockless from the rmap_walk, it may be updated
concurrently and this prevents the risk of reading intermediate values.
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Andrea Arcangeli <[email protected]>
Cc: Rik van Riel <[email protected]>
Cc: Hugh Dickins <[email protected]>
Cc: Mel Gorman <[email protected]>
Cc: Jan Vorlicek <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/lib')
0 files changed, 0 insertions, 0 deletions