diff options
| author | Matthew Wilcox (Oracle) <[email protected]> | 2024-04-26 15:45:03 +0100 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2024-05-05 17:53:54 -0700 |
| commit | 737019cf6ac5babb75645ad324aeead7bc04749d (patch) | |
| tree | 5f5ddc7a9b895153e78dcadbd372631ead28d337 /tools/perf/scripts/python/task-analyzer.py | |
| parent | 73b4a0cd8243709870701349611722ba3c351815 (diff) | |
mm: optimise vmf_anon_prepare() for VMAs without an anon_vma
If the mmap_lock can be taken for read, we can call __anon_vma_prepare()
while holding it, saving ourselves a trip back through the fault handler.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Matthew Wilcox (Oracle) <[email protected]>
Reviewed-by: Jann Horn <[email protected]>
Reviewed-by: Suren Baghdasaryan <[email protected]>
Reviewed-by: David Hildenbrand <[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