From: Johannes Weiner Date: Wed, 11 Sep 2013 21:20:46 +0000 (-0700) Subject: mm: page_alloc: rearrange watermark checking in get_page_from_freelist X-Git-Tag: v3.12-rc1~52^2~247 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e085dbc52fad8d79fa2245339c84bf3ef0b3a802;p=pandora-kernel.git mm: page_alloc: rearrange watermark checking in get_page_from_freelist Allocations that do not have to respect the watermarks are rare high-priority events. Reorder the code such that per-zone dirty limits and future checks important only to regular page allocations are ignored in these extraordinary situations. Signed-off-by: Johannes Weiner Cc: Mel Gorman Reviewed-by: Rik van Riel Cc: Andrea Arcangeli Cc: Paul Bolle Tested-by: Zlatko Calusic Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed