Re: [PATCH] memcg: more mem_cgroup_uncharge batching

From: KAMEZAWA Hiroyuki
Date: Thu Feb 24 2011 - 00:57:03 EST

On Wed, 23 Feb 2011 21:44:33 -0800 (PST)
Hugh Dickins <hughd@xxxxxxxxxx> wrote:

> 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@xxxxxxxxxx>

Thank you.
Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx>

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at