diff options
author | Nick Piggin <nickpiggin@yahoo.com.au> | 2006-01-06 03:10:58 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-06 11:33:25 -0500 |
commit | 13e7444b0ec59f96d81a4e8c379d5f38fc5f2cc1 (patch) | |
tree | 95420c03993981fd778047563c5af3f7dbdba74f /lib/Kconfig.debug | |
parent | 92be2e33b155ee76399f51f41fb061f850d02f08 (diff) |
[PATCH] mm: remove bad_range
bad_range is supposed to be a temporary check. It would be a pity to throw it
out. Make it depend on CONFIG_DEBUG_VM instead.
CONFIG_HOLES_IN_ZONE systems were relying on this to check pfn_valid in the
page allocator. Add that to page_is_buddy instead.
Signed-off-by: Nick Piggin <npiggin@suse.de>
Cc: Hugh Dickins <hugh@veritas.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'lib/Kconfig.debug')
-rw-r--r-- | lib/Kconfig.debug | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 156822e3cc79..1cedc2356b78 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug | |||
@@ -172,7 +172,8 @@ config DEBUG_VM | |||
172 | bool "Debug VM" | 172 | bool "Debug VM" |
173 | depends on DEBUG_KERNEL | 173 | depends on DEBUG_KERNEL |
174 | help | 174 | help |
175 | Enable this to debug the virtual-memory system. | 175 | Enable this to turn on extended checks in the virtual-memory system |
176 | that may impact performance. | ||
176 | 177 | ||
177 | If unsure, say N. | 178 | If unsure, say N. |
178 | 179 | ||