From: ZhangPeng zhangpeng362@huawei.com
Backport arch/mm/fault: accelerate pagefault when badaccess.
A test from lmbench shows 34% improve after this changes on arm64: lat_sig -P 1 prot lat_sig 0.29194 -> 0.19198
Kefeng Wang (2): arm64: mm: accelerate pagefault when VM_FAULT_BADACCESS x86: mm: accelerate pagefault when badaccess
arch/arm64/mm/fault.c | 4 +++- arch/x86/mm/fault.c | 23 ++++++++++++++--------- 2 files changed, 17 insertions(+), 10 deletions(-)