mbox series

[-next,0/2] mm: remove arch's private VM_FAULT_BADMAP/BADACCESS

Message ID 20240407081211.2292362-1-wangkefeng.wang@huawei.com (mailing list archive)
Headers show
Series mm: remove arch's private VM_FAULT_BADMAP/BADACCESS | expand

Message

Kefeng Wang April 7, 2024, 8:12 a.m. UTC
Directly set SEGV_MAPRR or SEGV_ACCERR for arm/arm64 to remove the last
two arch's private vm_fault reasons.

Based on next-20240405.

Kefeng Wang (2):
  arm64: mm: drop VM_FAULT_BADMAP/VM_FAULT_BADACCESS
  arm: mm: drop VM_FAULT_BADMAP/VM_FAULT_BADACCESS

 arch/arm/mm/fault.c   | 28 +++++++++++++---------------
 arch/arm64/mm/fault.c | 41 ++++++++++++++++++-----------------------
 2 files changed, 31 insertions(+), 38 deletions(-)