commit | 22a7f12b1606327f0e11fcdf9043ae00bf9917df | [log] [tgz] |
---|---|---|
author | Cody P Schafer <[email protected]> | Wed Jul 03 15:01:34 2013 -0700 |
committer | Linus Torvalds <[email protected]> | Wed Jul 03 16:07:27 2013 -0700 |
tree | d1e34a4bafc4fd5c6bafa3c1db6de94fe2ec9da8 | |
parent | 0a647f3811d6af56405a819341ceac23e31d4572 [diff] |
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 <[email protected]> Cc: Gilad Ben-Yossef <[email protected]> Cc: KOSAKI Motohiro <[email protected]> Cc: Mel Gorman <[email protected]> Cc: Pekka Enberg <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>