diff options
| author | Miaohe Lin <[email protected]> | 2022-07-04 21:21:47 +0800 |
|---|---|---|
| committer | akpm <[email protected]> | 2022-07-17 17:14:44 -0700 |
| commit | 4286f14748c13de42c1c4ab77a92fdfb37e6e5ef (patch) | |
| tree | 56130c5b8745e809b1ed26ebb697b58f3614f803 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 7c38f1812d5bc118e29cb898e7104387a6cc0b76 (diff) | |
mm/huge_memory: access vm_page_prot with READ_ONCE in remove_migration_pmd
vma->vm_page_prot is read lockless from the rmap_walk, it may be updated
concurrently. Using READ_ONCE to prevent the risk of reading intermediate
values.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Miaohe Lin <[email protected]>
Cc: Matthew Wilcox <[email protected]>
Cc: Muchun Song <[email protected]>
Cc: Yang Shi <[email protected]>
Cc: Zach O'Keefe <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions