|
@@ -346,8 +346,9 @@ config SLUB_STATS
|
|
|
|
|
|
config DEBUG_KMEMLEAK
|
|
config DEBUG_KMEMLEAK
|
|
bool "Kernel memory leak detector"
|
|
bool "Kernel memory leak detector"
|
|
- depends on DEBUG_KERNEL && EXPERIMENTAL && (X86 || ARM || PPC) && \
|
|
|
|
- !MEMORY_HOTPLUG
|
|
|
|
|
|
+ depends on DEBUG_KERNEL && EXPERIMENTAL && !MEMORY_HOTPLUG && \
|
|
|
|
+ (X86 || ARM || PPC || S390)
|
|
|
|
+
|
|
select DEBUG_FS if SYSFS
|
|
select DEBUG_FS if SYSFS
|
|
select STACKTRACE if STACKTRACE_SUPPORT
|
|
select STACKTRACE if STACKTRACE_SUPPORT
|
|
select KALLSYMS
|
|
select KALLSYMS
|
|
@@ -370,7 +371,7 @@ config DEBUG_KMEMLEAK
|
|
config DEBUG_KMEMLEAK_EARLY_LOG_SIZE
|
|
config DEBUG_KMEMLEAK_EARLY_LOG_SIZE
|
|
int "Maximum kmemleak early log entries"
|
|
int "Maximum kmemleak early log entries"
|
|
depends on DEBUG_KMEMLEAK
|
|
depends on DEBUG_KMEMLEAK
|
|
- range 200 2000
|
|
|
|
|
|
+ range 200 40000
|
|
default 400
|
|
default 400
|
|
help
|
|
help
|
|
Kmemleak must track all the memory allocations to avoid
|
|
Kmemleak must track all the memory allocations to avoid
|