]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ARM: 9328/1: mm: try VMA lock-based page fault handling first
authorWang Kefeng <wangkefeng.wang@huawei.com>
Thu, 19 Oct 2023 11:21:35 +0000 (12:21 +0100)
committerSasha Levin <sashal@kernel.org>
Fri, 15 Mar 2024 14:48:22 +0000 (10:48 -0400)
commit5acf0e789aeb46f339d8d55452a4dc1e7aa5f16c
tree1fdc9f7a14046c9a918537eb07675319f9b8bb1a
parent26a1a107a6afd72f2d92acae1fcd2a757860b4b3
ARM: 9328/1: mm: try VMA lock-based page fault handling first

[ Upstream commit c16af1212479570454752671a170a1756e11fdfb ]

Attempt VMA lock-based page fault handling first, and fall back to the
existing mmap_lock-based handling if that fails, the ebizzy benchmark
shows 25% improvement on qemu with 2 cpus.

Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Stable-dep-of: e870920bbe68 ("arch/arm/mm: fix major fault accounting when retrying under per-VMA lock")
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm/Kconfig
arch/arm/mm/fault.c