diff --git a/mm/Kconfig.debug b/mm/Kconfig.debug index 7b77d94a1b77..5090ac381d80 100644 --- a/mm/Kconfig.debug +++ b/mm/Kconfig.debug @@ -227,6 +227,12 @@ config PTDUMP_DEBUGFS config PER_VMA_LOCK_STATS bool "Statistics for per-vma locks" depends on PER_VMA_LOCK - default y help - Statistics for per-vma locks. + Say Y here to enable success, retry and failure counters of page + faults handled under protection of per-vma locks. When enabled, the + counters are exposed in /proc/vmstat. This information is useful for + kernel developers to evaluate effectiveness of per-vma locks and to + identify pathological cases. Counting these events introduces a small + overhead in the page fault path. + + If in doubt, say N.