ANDROID: mm: disable speculative page faults for CONFIG_NUMA

do_numa_page() uses pte_offset_map() directly and needs to implement
additional mechanisms to ensure the mempolicy object used in
numa_migrate_prep() is not destroyed from under it when speculating.
Rather than fixing this, just disable speculation for CONFIG_NUMA
for now and fix it if it's ever needed in Android.

Bug: 257443051
Change-Id: Ib5750b9809979a69a42ebfa6c130e123f416f1aa
Signed-off-by: Suren Baghdasaryan 
diff --git a/mm/Kconfig b/mm/Kconfig
index 45adcb7..848a44a 100644
--- a/mm/Kconfig
+++ b/mm/Kconfig
@@ -957,7 +957,7 @@
 config SPECULATIVE_PAGE_FAULT
 	bool "Speculative page faults"
 	default y
-	depends on ARCH_SUPPORTS_SPECULATIVE_PAGE_FAULT && MMU && SMP
+	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