ANDROID: remove unnecessary SPECULATIVE_PAGE_FAULT config dependency

After recent fixes [1], speculative page fault walks are performed with
disabled interrupts, therefore do not depend on ALLOC_SPLIT_PTLOCKS
which would affect them if performed under RCU protection. Remove
unnecessary config dependency.

[1] 5fcb50b055 ("ANDROID: mm: fix speculative walk which is unsafe under RCU")

Bug: 253557903
Change-Id: Ia1c835c7b08419f8fce61fa4f7e6842fbf786229
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
This commit is contained in:
Suren Baghdasaryan
2022-12-29 12:45:56 -08:00
parent f5ade1a7ad
commit 7a3d34495c

View File

@@ -951,8 +951,6 @@ config SPECULATIVE_PAGE_FAULT
bool "Speculative page faults"
default y
depends on ARCH_SUPPORTS_SPECULATIVE_PAGE_FAULT && MMU && SMP && !NUMA
# split ptl lock can result in PTL destruction under RCU
depends on !ALLOC_SPLIT_PTLOCKS
help
Try to handle user space page faults without holding the mmap lock.