diff options
| author | Ran Xiaokai <[email protected]> | 2024-05-15 10:47:54 +0800 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2024-07-03 19:29:53 -0700 |
| commit | 7f83bf14603ef41a44dc907594d749a283e22c37 (patch) | |
| tree | 8052059521b936b6f0d350ff8e930967ea8ae65a /tools/perf/scripts/python | |
| parent | 6f775463d0027733caebfb75d62ec7c4f807f834 (diff) | |
mm/huge_memory: mark racy access onhuge_anon_orders_always
huge_anon_orders_always is accessed lockless, it is better to use the
READ_ONCE() wrapper. This is not fixing any visible bug, hopefully this
can cease some KCSAN complains in the future. Also do that for
huge_anon_orders_madvise.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Ran Xiaokai <[email protected]>
Acked-by: David Hildenbrand <[email protected]>
Reviewed-by: Lu Zhongjun <[email protected]>
Reviewed-by: xu xin <[email protected]>
Cc: Yang Yang <[email protected]>
Cc: Matthew Wilcox (Oracle) <[email protected]>
Cc: Yang Shi <[email protected]>
Cc: Zi Yan <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions