summaryrefslogtreecommitdiffstats
path: root/mm/memory.c
diff options
context:
space:
mode:
authorHugh Dickins2009-01-06 23:40:06 +0100
committerLinus Torvalds2009-01-07 00:59:07 +0100
commit8cc3b39221b0ecbd83a338948a8396df097fc656 (patch)
tree8a8617590f6bc9842c28a0fc4e5e5fbc93e95780 /mm/memory.c
parentbadpage: simplify page_alloc flag check+clear (diff)
downloadkernel-qcow2-linux-8cc3b39221b0ecbd83a338948a8396df097fc656.tar.gz
kernel-qcow2-linux-8cc3b39221b0ecbd83a338948a8396df097fc656.tar.xz
kernel-qcow2-linux-8cc3b39221b0ecbd83a338948a8396df097fc656.zip
badpage: keep any bad page out of circulation
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: Hugh 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: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/memory.c')
0 files changed, 0 insertions, 0 deletions