diff options
author | Cody P Schafer <cody@linux.vnet.ibm.com> | 2013-07-04 00:01:34 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-07-04 01:07:27 +0200 |
commit | 22a7f12b1606327f0e11fcdf9043ae00bf9917df (patch) | |
tree | d1e34a4bafc4fd5c6bafa3c1db6de94fe2ec9da8 /net/dsa | |
parent | mm/page_alloc: convert zone_pcp_update() to rely on memory barriers instead o... (diff) | |
download | linux-22a7f12b1606327f0e11fcdf9043ae00bf9917df.tar.xz linux-22a7f12b1606327f0e11fcdf9043ae00bf9917df.zip |
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 <cody@linux.vnet.ibm.com>
Cc: Gilad Ben-Yossef <gilad@benyossef.com>
Cc: KOSAKI Motohiro <kosaki.motohiro@gmail.com>
Cc: Mel Gorman <mgorman@suse.de>
Cc: Pekka Enberg <penberg@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'net/dsa')
0 files changed, 0 insertions, 0 deletions