diff options
| author | Suren Baghdasaryan <surenb@google.com> | 2023-01-31 16:01:16 -0800 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2023-02-09 16:51:41 -0800 |
| commit | 601c3c29dbeb049862faa00917f2daf094a71028 (patch) | |
| tree | 24e4ec4694356281c6ee9e12858f52a889d977da /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | mm/vmalloc: replace BUG_ON with a simple if statement (diff) | |
| download | linux-601c3c29dbeb049862faa00917f2daf094a71028.tar.gz linux-601c3c29dbeb049862faa00917f2daf094a71028.zip | |
mm: introduce vm_flags_reset_once to replace WRITE_ONCE vm_flags updates
Provide vm_flags_reset_once() and replace the vm_flags updates which used
WRITE_ONCE() to prevent compiler optimizations.
Link: https://lkml.kernel.org/r/20230201000116.1333160-1-surenb@google.com
Fixes: 0cce31a0aa0e ("mm: replace vma->vm_flags direct modifications with modifier calls")
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Reported-by: Hyeonggon Yoo <42.hyeyoo@gmail.com>
Reviewed-by: Hyeonggon Yoo <42.hyeyoo@gmail.com>
Acked-by: Michal Hocko <mhocko@suse.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
