diff options
| author | Matthew Wilcox (Oracle) <[email protected]> | 2023-07-24 19:54:05 +0100 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-08-18 10:12:51 -0700 |
| commit | 8f5fd0e1a02020062c52063f15d4e5c426ee3547 (patch) | |
| tree | c3a5a45d8d8b750b1ed415e6fc11c33e601fe089 /tools/perf/scripts/python | |
| parent | c4fd825e188471d4d2796e02729dd029b3b23210 (diff) | |
mm: handle some PMD faults under the VMA lock
Push the VMA_LOCK check down from __handle_mm_fault() to
handle_pte_fault(). Once again, we refuse to call ->huge_fault() with the
VMA lock held, but we will wait for a PMD migration entry with the VMA
lock held, handle NUMA migration and set the accessed bit. We were
already doing this for anonymous VMAs, so it should be safe.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Matthew Wilcox (Oracle) <[email protected]>
Cc: Arjun Roy <[email protected]>
Cc: Eric Dumazet <[email protected]>
Cc: Punit Agrawal <[email protected]>
Cc: Suren Baghdasaryan <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions