diff options
| author | 2024-04-11 21:09:25 +0800 | |
|---|---|---|
| committer | 2024-05-05 17:53:32 -0700 | |
| commit | e9016174621112624f957c8138bd3c34692e2e93 (patch) | |
| tree | aceed24952b240ec77d7e91227d58c9cd032eac5 /mm/memory.c | |
| parent | arm64: mm: drop VM_FAULT_BADMAP/VM_FAULT_BADACCESS (diff) | |
| download | wireguard-linux-e9016174621112624f957c8138bd3c34692e2e93.tar.xz wireguard-linux-e9016174621112624f957c8138bd3c34692e2e93.zip | |
arm: mm: drop VM_FAULT_BADMAP/VM_FAULT_BADACCESS
If bad map or access, directly set code to SEGV_MAPRR or SEGV_ACCERR, also
set fault to 0 and goto error handling, which make us to drop the arch's
special vm fault reason.
[akpm@linux-foundation.org: coding-style cleanups]
Link: https://lkml.kernel.org/r/20240411130925.73281-3-wangkefeng.wang@huawei.com
Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Cc: Aishwarya TCV <aishwarya.tcv@arm.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Cristian Marussi <cristian.marussi@arm.com>
Cc: Mark Brown <broonie@kernel.org>
Cc: Russell King <linux@armlinux.org.uk>
Cc: Will Deacon <will@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/memory.c')
0 files changed, 0 insertions, 0 deletions
