From: Hugh Dickins Date: Fri, 25 Feb 2011 22:44:29 +0000 (-0800) Subject: memcg: more mem_cgroup_uncharge() batching X-Git-Tag: v2.6.38-rc7~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e5598f8bf5449bc09e4005600ead32e6f2a3e79b;p=pandora-kernel.git 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 Acked-by: KAMEZAWA Hiroyuki Acked-by: Balbir Singh Acked-by: Daisuke Nishimura Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed