summaryrefslogtreecommitdiffstats
path: root/net/ceph/pagevec.c
diff options
context:
space:
mode:
authorCody P Schafer <cody@linux.vnet.ibm.com>2013-07-04 00:01:34 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2013-07-04 01:07:27 +0200
commit22a7f12b1606327f0e11fcdf9043ae00bf9917df (patch)
treed1e34a4bafc4fd5c6bafa3c1db6de94fe2ec9da8 /net/ceph/pagevec.c
parentmm/page_alloc: convert zone_pcp_update() to rely on memory barriers instead o... (diff)
downloadlinux-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/ceph/pagevec.c')
0 files changed, 0 insertions, 0 deletions