aboutsummaryrefslogtreecommitdiffstats
path: root/mm/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'mm/Kconfig')
-rw-r--r--mm/Kconfig13
1 files changed, 13 insertions, 0 deletions
diff --git a/mm/Kconfig b/mm/Kconfig
index 391ffc54d136..f35a550ba4b9 100644
--- a/mm/Kconfig
+++ b/mm/Kconfig
@@ -111,3 +111,16 @@ config SPARSEMEM_STATIC
111config SPARSEMEM_EXTREME 111config SPARSEMEM_EXTREME
112 def_bool y 112 def_bool y
113 depends on SPARSEMEM && !SPARSEMEM_STATIC 113 depends on SPARSEMEM && !SPARSEMEM_STATIC
114
115# Heavily threaded applications may benefit from splitting the mm-wide
116# page_table_lock, so that faults on different parts of the user address
117# space can be handled with less contention: split it at this NR_CPUS.
118# Default to 4 for wider testing, though 8 might be more appropriate.
119# ARM's adjust_pte (unused if VIPT) depends on mm-wide page_table_lock.
120# PA-RISC's debug spinlock_t is too large for the 32-bit struct page.
121#
122config SPLIT_PTLOCK_CPUS
123 int
124 default "4096" if ARM && !CPU_CACHE_VIPT
125 default "4096" if PARISC && DEBUG_SPINLOCK && !64BIT
126 default "4"