Skip to content

Commit

Permalink
[PATCH] kconfig: clarify memory debug options
Browse files Browse the repository at this point in the history
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: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Andrew Morton authored and Linus Torvalds committed Mar 25, 2006
1 parent 33d8675 commit 4a2f0ac
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion arch/i386/Kconfig.debug
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ comment "Page alloc debug is incompatible with Software Suspend on i386"
depends on DEBUG_KERNEL && SOFTWARE_SUSPEND

config DEBUG_PAGEALLOC
bool "Page alloc debugging"
bool "Debug page memory allocations"
depends on DEBUG_KERNEL && !SOFTWARE_SUSPEND && !HUGETLBFS
help
Unmap pages from the kernel linear mapping after free_pages().
Expand Down
2 changes: 1 addition & 1 deletion arch/m32r/Kconfig.debug
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ config DEBUG_STACK_USAGE
This option will slow down process creation somewhat.

config DEBUG_PAGEALLOC
bool "Page alloc debugging"
bool "Debug page memory allocations"
depends on DEBUG_KERNEL && BROKEN
help
Unmap pages from the kernel linear mapping after free_pages().
Expand Down
2 changes: 1 addition & 1 deletion arch/sparc64/Kconfig.debug
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ config DEBUG_BOOTMEM
bool "Debug BOOTMEM initialization"

config DEBUG_PAGEALLOC
bool "Page alloc debugging"
bool "Debug page memory allocations"
depends on DEBUG_KERNEL && !SOFTWARE_SUSPEND
help
Unmap pages from the kernel linear mapping after free_pages().
Expand Down
2 changes: 1 addition & 1 deletion lib/Kconfig.debug
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ config SCHEDSTATS
this adds.

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

0 comments on commit 4a2f0ac

Please sign in to comment.