[PATCH] bad_page: clear reclaim and slab
authorHugh Dickins <hugh@veritas.com>
Wed, 22 Jun 2005 00:15:08 +0000 (17:15 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Wed, 22 Jun 2005 01:46:19 +0000 (18:46 -0700)
commit334795eca421287c41c257992027d29659dc0f97
treec371467bea94f77bd340730c9cac724cca194b20
parent45918e1a8bfcabc1cb4570b8df276655020eac45
[PATCH] bad_page: clear reclaim and slab

Since free_pages_check complains if PG_reclaim or PG_slab is set, bad_page
ought to clear them to avoid repetitive reports (Nikita noticed this too).
Let prep_new_page check page_count and PG_slab as free_pages_check does.

Signed-off-by: Hugh Dickins <hugh@veritas.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
mm/page_alloc.c