diff options
| author | Matthew Wilcox (Oracle) <[email protected]> | 2023-07-24 19:54:03 +0100 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-08-18 10:12:51 -0700 |
| commit | 4ec31152a80d83d74d231d964703a721236244ef (patch) | |
| tree | c038eef92d6b55069f2a1bd34c8129fae68278e4 /tools/perf/scripts/python | |
| parent | 350f6bbca1de515cd7519a33661cefc93ea06054 (diff) | |
mm: move FAULT_FLAG_VMA_LOCK check from handle_mm_fault()
Handle a little more of the page fault path outside the mmap sem. The
hugetlb path doesn't need to check whether the VMA is anonymous; the
VM_HUGETLB flag is only set on hugetlbfs VMAs. There should be no
performance change from the previous commit; this is simply a step to ease
bisection of any problems.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Matthew Wilcox (Oracle) <[email protected]>
Reviewed-by: Suren Baghdasaryan <[email protected]>
Cc: Arjun Roy <[email protected]>
Cc: Eric Dumazet <[email protected]>
Cc: Punit Agrawal <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions