diff options
| author | Matthew Wilcox (Oracle) <[email protected]> | 2023-10-06 20:53:15 +0100 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-10-18 14:34:14 -0700 |
| commit | 4ed4379881aa62588aba6442a9f362a8cf7624e6 (patch) | |
| tree | a373d55dedf8fe2cdf03abc18ad29dd381d084d0 /tools/perf/scripts/python/task-analyzer.py | |
| parent | 164b06f238b986317131e6b61b2f22aabcbc2cc0 (diff) | |
mm: handle shared faults under the VMA lock
There are many implementations of ->fault and some of them depend on
mmap_lock being held. All vm_ops that implement ->map_pages() end up
calling filemap_fault(), which I have audited to be sure it does not rely
on mmap_lock. So (for now) key off ->map_pages existing as a flag to
indicate that it's safe to call ->fault while only holding the vma lock.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Matthew Wilcox (Oracle) <[email protected]>
Reviewed-by: Suren Baghdasaryan <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions