Skip to content
  • Hugh Dickins's avatar
    badpage: keep any bad page out of circulation · 8cc3b392
    Hugh Dickins authored
    
    
    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: default avatarHugh 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: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    8cc3b392