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] 5fcb50b0559a ("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:
@@ -958,8 +958,6 @@ config SPECULATIVE_PAGE_FAULT
|
|||||||
bool "Speculative page faults"
|
bool "Speculative page faults"
|
||||||
default y
|
default y
|
||||||
depends on ARCH_SUPPORTS_SPECULATIVE_PAGE_FAULT && MMU && SMP && !NUMA
|
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
|
help
|
||||||
Try to handle user space page faults without holding the mmap lock.
|
Try to handle user space page faults without holding the mmap lock.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user