diff options
author | 2024-04-03 16:38:03 +0800 | |
---|---|---|
committer | 2024-05-22 16:12:56 -0700 | |
commit | 4c6c0020427a4547845a83f7e4d6085e16c3e24f (patch) | |
tree | bbdc6af233a0483e0b4b4bb160e7aa608bf1ba66 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | riscv: uaccess: Relax the threshold for fast path (diff) | |
download | wireguard-linux-4c6c0020427a4547845a83f7e4d6085e16c3e24f.tar.xz wireguard-linux-4c6c0020427a4547845a83f7e4d6085e16c3e24f.zip |
riscv: mm: accelerate pagefault when badaccess
The access_error() of vma already checked under per-VMA lock, if it
is a bad access, directly handle error, no need to retry with mmap_lock
again. Since the page faut is handled under per-VMA lock, count it as
a vma lock event with VMA_LOCK_SUCCESS.
Reviewed-by: Suren Baghdasaryan <surenb@google.com>
Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Reviewed-by: Alexandre Ghiti <alexghiti@rivosinc.com>
Tested-by: Alexandre Ghiti <alexghiti@rivosinc.com>
Link: https://lore.kernel.org/r/20240403083805.1818160-6-wangkefeng.wang@huawei.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions