From: Mel Gorman Date: Wed, 4 Jun 2014 23:10:22 +0000 (-0700) Subject: mm: page_alloc: convert hot/cold parameter and immediate callers to bool X-Git-Tag: omap-for-v3.16/fixes-against-rc1~56^2~16^2~111 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b745bc85f21ea707e4ea1a91948055fa3e72c77b;p=pandora-kernel.git mm: page_alloc: convert hot/cold parameter and immediate callers to bool cold is a bool, make it one. Make the likely case the "if" part of the block instead of the else as according to the optimisation manual this is preferred. Signed-off-by: Mel Gorman Acked-by: Rik van Riel Cc: Johannes Weiner Cc: Vlastimil Babka Cc: Jan Kara Cc: Michal Hocko Cc: Hugh Dickins Cc: Dave Hansen Cc: Theodore Ts'o Cc: "Paul E. McKenney" Cc: Oleg Nesterov Cc: Peter Zijlstra Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed