From: Cody P Schafer Date: Wed, 3 Jul 2013 22:01:34 +0000 (-0700) Subject: mm/page_alloc: when handling percpu_pagelist_fraction, don't unneedly recalulate... X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~17^2~399 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=22a7f12b1606327f0e11fcdf9043ae00bf9917df;p=pandora-kernel.git mm/page_alloc: when handling percpu_pagelist_fraction, don't unneedly recalulate high Simply moves calculation of the new 'high' value outside the for_each_possible_cpu() loop, as it does not depend on the cpu. Signed-off-by: Cody P Schafer Cc: Gilad Ben-Yossef Cc: KOSAKI Motohiro Cc: Mel Gorman Cc: Pekka Enberg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed