From: Mel Gorman Date: Tue, 16 Jun 2009 22:32:02 +0000 (-0700) Subject: page allocator: remove a branch by assuming __GFP_HIGH == ALLOC_HIGH X-Git-Tag: v2.6.31-rc1~299^2~146 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a56f57ff94c25d5d80def06f3ed8fe7f99147762;p=pandora-kernel.git page allocator: remove a branch by assuming __GFP_HIGH == ALLOC_HIGH Allocations that specify __GFP_HIGH get the ALLOC_HIGH flag. If these flags are equal to each other, we can eliminate a branch. [akpm@linux-foundation.org: Suggested the hack] Signed-off-by: Mel Gorman Reviewed-by: Pekka Enberg Reviewed-by: KOSAKI Motohiro Cc: Christoph Lameter Cc: Peter Zijlstra Cc: Nick Piggin Cc: Dave Hansen Cc: Lee Schermerhorn Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed