]> git.baikalelectronics.ru Git - kernel.git/commit
x86/mm: implement arch_faults_on_old_pte() stub on x86
authorJia He <justin.he@arm.com>
Fri, 11 Oct 2019 14:09:38 +0000 (22:09 +0800)
committerCatalin Marinas <catalin.marinas@arm.com>
Fri, 18 Oct 2019 10:11:25 +0000 (11:11 +0100)
commite80fb71aea21d6f8002d6f6cd900d897b413f990
treeccc245d681aebdc8b22722c6a26ac967247142e1
parentf9865f15cb96410062f312cf87d19210b64e3c3b
x86/mm: implement arch_faults_on_old_pte() stub on x86

arch_faults_on_old_pte is a helper to indicate that it might cause page
fault when accessing old pte. But on x86, there is feature to setting
pte access flag by hardware. Hence implement an overriding stub which
always returns false.

Signed-off-by: Jia He <justin.he@arm.com>
Suggested-by: Will Deacon <will@kernel.org>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/x86/include/asm/pgtable.h