aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorLaura Abbott <lauraa@codeaurora.org>2011-11-15 18:49:09 -0500
committerCatalin Marinas <catalin.marinas@arm.com>2011-12-02 11:12:42 -0500
commit029aeff5db879afd7760f11214b6fea45f76b58e (patch)
treedeac6984f163841a7996d7a8f39db49f66684c72 /lib
parentf528f0b8e53d73b18be71e96693cfab9322f33c7 (diff)
kmemleak: Add support for memory hotplug
Ensure that memory hotplug can co-exist with kmemleak by taking the hotplug lock before scanning the memory banks. Signed-off-by: Laura Abbott <lauraa@codeaurora.org> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/Kconfig.debug2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index 82928f5ea049..8745ac7d1f75 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -414,7 +414,7 @@ config SLUB_STATS
414 414
415config DEBUG_KMEMLEAK 415config DEBUG_KMEMLEAK
416 bool "Kernel memory leak detector" 416 bool "Kernel memory leak detector"
417 depends on DEBUG_KERNEL && EXPERIMENTAL && !MEMORY_HOTPLUG && \ 417 depends on DEBUG_KERNEL && EXPERIMENTAL && \
418 (X86 || ARM || PPC || MIPS || S390 || SPARC64 || SUPERH || MICROBLAZE || TILE) 418 (X86 || ARM || PPC || MIPS || S390 || SPARC64 || SUPERH || MICROBLAZE || TILE)
419 419
420 select DEBUG_FS 420 select DEBUG_FS