]> Gentwo Git Trees - linux/.git/commit
LoongArch: Try VMA lock-based page fault handling first
authorWentao Guan <guanwentao@uniontech.com>
Thu, 2 Oct 2025 14:39:19 +0000 (22:39 +0800)
committerHuacai Chen <chenhuacai@loongson.cn>
Thu, 2 Oct 2025 14:39:19 +0000 (22:39 +0800)
commit892979b0a97c5f3a5decfd6a33e7f902414bfc41
tree2bfbfc24ffe08a4ff16c68466bf7900ba99b33cd
parentc8168b4faf1d62cbb320a3e518ad31cdd567cb05
LoongArch: Try VMA lock-based page fault handling first

Attempt VMA lock-based page fault handling first, and fall back to the
existing mmap_lock-based handling if that fails.

The "ebizzy -mTRp" test on Loongson-3A6000 shows that PER_VMA_LOCK can
improve the benchmark by about 17.9% (97837.7 to 115430.8).

This is the LoongArch variant of "x86/mm: try VMA lock-based page fault
handling first".

Signed-off-by: Wentao Guan <guanwentao@uniontech.com>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
arch/loongarch/Kconfig
arch/loongarch/mm/fault.c