summaryrefslogtreecommitdiffstats
path: root/drivers/pps
diff options
context:
space:
mode:
authorHugh Dickins <hughd@google.com>2011-02-25 14:44:29 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2011-02-25 15:07:37 -0800
commite5598f8bf5449bc09e4005600ead32e6f2a3e79b (patch)
treec9c26f9274668d2d47e444d512b2d3d892f9c314 /drivers/pps
parent8eac563c1c3a2047083022357ae63722b19e4e08 (diff)
downloadop-kernel-dev-e5598f8bf5449bc09e4005600ead32e6f2a3e79b.zip
op-kernel-dev-e5598f8bf5449bc09e4005600ead32e6f2a3e79b.tar.gz
memcg: more mem_cgroup_uncharge() batching
It seems odd that truncate_inode_pages_range(), called not only when truncating but also when evicting inodes, has mem_cgroup_uncharge_start and _end() batching in its second loop to clear up a few leftovers, but not in its first loop that does almost all the work: add them there too. Signed-off-by: Hugh Dickins <hughd@google.com> Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> Acked-by: Balbir Singh <balbir@linux.vnet.ibm.com> Acked-by: Daisuke Nishimura <nishimura@mxp.nes.nec.co.jp> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/pps')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud