X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=lib%2FKconfig.debug;h=5f2ce616c0462db9b9055528110268385b2b653e;hb=4ccce02eb31b847dd6bf8486f037ba1db39403c5;hp=d780351835e9cb9e0b9bcf26f0e85f43d11f15c4;hpb=2ec1c17cadd0b994732f292d4bc49fc3a05d85a4;p=karo-tx-linux.git 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 you really need it, and what the merge plan to the mainline kernel for your module is. +config PAGE_OWNER + bool "Track page owner" + depends on DEBUG_KERNEL && STACKTRACE_SUPPORT + select DEBUG_FS + select STACKTRACE + select PAGE_EXTENSION + help + This keeps track of what call chain is the owner of a page, may + help to find bare alloc_page(s) leaks. Even if you include this + feature on your build, it is disabled in default. You should pass + "page_owner=on" to boot parameter in order to enable it. Eats + a fair amount of memory if enabled. See tools/vm/page_owner_sort.c + for user-space helper. + + If unsure, say N. + config DEBUG_FS bool "Debug Filesystem" help