diff options
Diffstat (limited to 'lib/Kconfig.debug')
-rw-r--r-- | lib/Kconfig.debug | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index d780351835e9..5f2ce616c046 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug | |||
@@ -227,6 +227,22 @@ config UNUSED_SYMBOLS | |||
227 | you really need it, and what the merge plan to the mainline kernel for | 227 | you really need it, and what the merge plan to the mainline kernel for |
228 | your module is. | 228 | your module is. |
229 | 229 | ||
230 | config PAGE_OWNER | ||
231 | bool "Track page owner" | ||
232 | depends on DEBUG_KERNEL && STACKTRACE_SUPPORT | ||
233 | select DEBUG_FS | ||
234 | select STACKTRACE | ||
235 | select PAGE_EXTENSION | ||
236 | help | ||
237 | This keeps track of what call chain is the owner of a page, may | ||
238 | help to find bare alloc_page(s) leaks. Even if you include this | ||
239 | feature on your build, it is disabled in default. You should pass | ||
240 | "page_owner=on" to boot parameter in order to enable it. Eats | ||
241 | a fair amount of memory if enabled. See tools/vm/page_owner_sort.c | ||
242 | for user-space helper. | ||
243 | |||
244 | If unsure, say N. | ||
245 | |||
230 | config DEBUG_FS | 246 | config DEBUG_FS |
231 | bool "Debug Filesystem" | 247 | bool "Debug Filesystem" |
232 | help | 248 | help |