]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] mm: remove bad_range
authorNick Piggin <nickpiggin@yahoo.com.au>
Fri, 6 Jan 2006 08:10:58 +0000 (00:10 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 6 Jan 2006 16:33:25 +0000 (08:33 -0800)
commit13e7444b0ec59f96d81a4e8c379d5f38fc5f2cc1
tree95420c03993981fd778047563c5af3f7dbdba74f
parent92be2e33b155ee76399f51f41fb061f850d02f08
[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>
lib/Kconfig.debug
mm/page_alloc.c