HWPOISON: detect free buddy pages explicitly
authorWu Fengguang <fengguang.wu@intel.com>
Wed, 16 Dec 2009 11:19:58 +0000 (12:19 +0100)
committerAndi Kleen <ak@linux.intel.com>
Wed, 16 Dec 2009 11:19:58 +0000 (12:19 +0100)
commit8d22ba1b74aa9420b6032d856446564fb21f8090
tree6c2e2d27e81d784faa0481500f1cecc613ff1167
parent95d01fc664b9476e0d18e3d745bb209a42a33588
HWPOISON: detect free buddy pages explicitly

Most free pages in the buddy system have no PG_buddy set.
Introduce is_free_buddy_page() for detecting them reliably.

CC: Nick Piggin <npiggin@suse.de>
CC: Mel Gorman <mel@linux.vnet.ibm.com>
Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
mm/internal.h
mm/memory-failure.c
mm/page_alloc.c