• H
    badpage: keep any bad page out of circulation · 8cc3b392
    Hugh Dickins 提交于
    Until now the bad_page() checkers have special-cased PageReserved, keeping
    those pages out of circulation thereafter.  Now extend the special case to
    all: we want to keep ANY page with bad state out of circulation - the
    "free" page may well be in use by something.
    
    Leave the bad state of those pages untouched, for examination by
    debuggers; except for PageBuddy - leaving that set would risk bringing the
    page back.
    Signed-off-by: NHugh Dickins <hugh@veritas.com>
    Cc: Nick Piggin <nickpiggin@yahoo.com.au>
    Cc: Christoph Lameter <cl@linux-foundation.org>
    Cc: Mel Gorman <mel@csn.ul.ie>
    Cc: Rik van Riel <riel@redhat.com>
    Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
    8cc3b392
page_alloc.c 129.8 KB