diff options
| author | Kefeng Wang <[email protected]> | 2024-04-03 08:38:03 +0000 |
|---|---|---|
| committer | Palmer Dabbelt <[email protected]> | 2024-05-22 23:12:56 +0000 |
| commit | 4c6c0020427a4547845a83f7e4d6085e16c3e24f (patch) | |
| tree | bbdc6af233a0483e0b4b4bb160e7aa608bf1ba66 /net/unix/af_unix.c | |
| parent | riscv: uaccess: Relax the threshold for fast path (diff) | |
| download | kernel-4c6c0020427a4547845a83f7e4d6085e16c3e24f.tar.gz kernel-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 <[email protected]>
Signed-off-by: Kefeng Wang <[email protected]>
Reviewed-by: Alexandre Ghiti <[email protected]>
Tested-by: Alexandre Ghiti <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
