diff options
| author | Suren Baghdasaryan <[email protected]> | 2024-04-14 19:08:21 -0700 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2024-05-05 17:53:37 -0700 |
| commit | b5ba3a64279355731252098d92550e12bf9649e4 (patch) | |
| tree | 086ef28feea9cdbf61b2fb69e1d93e3ba09b96da /tools/perf/scripts/python | |
| parent | 231f8c7127e37edcd4d9e3f87e0f9fcf0e90d902 (diff) | |
userfaultfd: remove WRITE_ONCE when setting folio->index during UFFDIO_MOVE
When folio is moved with UFFDIO_MOVE it gets locked before the rmap and
index are modified. Due to the folio lock being already held,
WRITE_ONCE() is not needed when setting the folio index. Remove it.
Link: https://lkml.kernel.org/r/[email protected]
Reported-by: Matthew Wilcox <[email protected]>
Signed-off-by: Suren Baghdasaryan <[email protected]>
Reviewed-by: David Hildenbrand <[email protected]>
Reviewed-by: Peter Xu <[email protected]>
Cc: Lokesh Gidra <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions