From: Mel Gorman Date: Wed, 4 Jun 2014 23:10:08 +0000 (-0700) Subject: mm: page_alloc: use jump labels to avoid checking number_of_cpusets X-Git-Tag: omap-for-v3.16/fixes-against-rc1~56^2~16^2~119 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=664eeddeef6539247691197c1ac124d4aa872ab6;p=pandora-kernel.git mm: page_alloc: use jump labels to avoid checking number_of_cpusets If cpusets are not in use then we still check a global variable on every page allocation. Use jump labels to avoid the overhead. Signed-off-by: Mel Gorman Reviewed-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 Cc: Stephen Rothwell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed