Re: [PATCH] memcg: more mem_cgroup_uncharge batching

From: Balbir Singh
Date: Thu Feb 24 2011 - 01:20:32 EST


* Hugh Dickins <hughd@xxxxxxxxxx> [2011-02-23 21:44:33]:

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


Acked-by: Balbir Singh <balbir@xxxxxxxxxxxxxxxxxx>


--
Three Cheers,
Balbir
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/