Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4a2f0acf authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds
Browse files

[PATCH] kconfig: clarify memory debug options



The Kconfig text for CONFIG_DEBUG_SLAB and CONFIG_DEBUG_PAGEALLOC have always
seemed a bit confusing.  Change them to:

CONFIG_DEBUG_SLAB: "Debug slab memory allocations"
CONFIG_DEBUG_PAGEALLOC: "Debug page memory allocations"

Cc: "David S. Miller" <davem@davemloft.net>
Cc: Hirokazu Takata <takata@linux-m32r.org>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 33d8675e
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -44,7 +44,7 @@ comment "Page alloc debug is incompatible with Software Suspend on i386"
	depends on DEBUG_KERNEL && SOFTWARE_SUSPEND
	depends on DEBUG_KERNEL && SOFTWARE_SUSPEND


config DEBUG_PAGEALLOC
config DEBUG_PAGEALLOC
	bool "Page alloc debugging"
	bool "Debug page memory allocations"
	depends on DEBUG_KERNEL && !SOFTWARE_SUSPEND && !HUGETLBFS
	depends on DEBUG_KERNEL && !SOFTWARE_SUSPEND && !HUGETLBFS
	help
	help
	  Unmap pages from the kernel linear mapping after free_pages().
	  Unmap pages from the kernel linear mapping after free_pages().
+1 −1
Original line number Original line Diff line number Diff line
@@ -19,7 +19,7 @@ config DEBUG_STACK_USAGE
	  This option will slow down process creation somewhat.
	  This option will slow down process creation somewhat.


config DEBUG_PAGEALLOC
config DEBUG_PAGEALLOC
	bool "Page alloc debugging"
	bool "Debug page memory allocations"
	depends on DEBUG_KERNEL && BROKEN
	depends on DEBUG_KERNEL && BROKEN
	help
	help
	  Unmap pages from the kernel linear mapping after free_pages().
	  Unmap pages from the kernel linear mapping after free_pages().
+1 −1
Original line number Original line Diff line number Diff line
@@ -24,7 +24,7 @@ config DEBUG_BOOTMEM
	bool "Debug BOOTMEM initialization"
	bool "Debug BOOTMEM initialization"


config DEBUG_PAGEALLOC
config DEBUG_PAGEALLOC
	bool "Page alloc debugging"
	bool "Debug page memory allocations"
	depends on DEBUG_KERNEL && !SOFTWARE_SUSPEND
	depends on DEBUG_KERNEL && !SOFTWARE_SUSPEND
	help
	help
	  Unmap pages from the kernel linear mapping after free_pages().
	  Unmap pages from the kernel linear mapping after free_pages().
+1 −1
Original line number Original line Diff line number Diff line
@@ -78,7 +78,7 @@ config SCHEDSTATS
	  this adds.
	  this adds.


config DEBUG_SLAB
config DEBUG_SLAB
	bool "Debug memory allocations"
	bool "Debug slab memory allocations"
	depends on DEBUG_KERNEL && SLAB
	depends on DEBUG_KERNEL && SLAB
	help
	help
	  Say Y here to have the kernel do limited verification on memory
	  Say Y here to have the kernel do limited verification on memory