From: Hugh Dickins Date: Tue, 6 Jan 2009 22:40:05 +0000 (-0800) Subject: badpage: simplify page_alloc flag check+clear X-Git-Tag: v2.6.29-rc1~418 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=79f4b7bf393e67bbffec807cc68caaefc72b82ee;p=pandora-kernel.git badpage: simplify page_alloc flag check+clear Simplify the PAGE_FLAGS checking and clearing when freeing and allocating a page: check the same flags as before when freeing, clear ALL the flags (unless PageReserved) when freeing, check ALL flags off when allocating. Signed-off-by: Hugh Dickins Cc: Nick Piggin Cc: Christoph Lameter Cc: Mel Gorman Cc: Rik van Riel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed