[PATCH v2 0/2] mm: remove arch's private VM_FAULT_BADMAP/BADACCESS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Directly set SEGV_MAPRR or SEGV_ACCERR for arm/arm64 to remove the last
two arch's private vm_fault reasons.

v2:
- fix unbalanced mmap lock and set si_code to SEGV_MAPERR by default
  before error handling, which also fix ltp fail reported by Aishwarya

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   | 30 +++++++++++++++---------------
 arch/arm64/mm/fault.c | 43 ++++++++++++++++++++-----------------------
 2 files changed, 35 insertions(+), 38 deletions(-)

-- 
2.41.0





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux