[Devel] Re: [PATCH v2 06/11] memcg: kmem controller infrastructure

Glauber Costa glommer at parallels.com
Fri Aug 17 00:04:02 PDT 2012


On 08/17/2012 06:36 AM, Kamezawa Hiroyuki wrote:
> I just want to see the same logic used in mem_cgroup_uncharge_common().
> Hmm, at setting pc->mem_cgroup, the things happens in
>    set pc->mem_cgroup
>    set Used bit
> order. If you clear pc->mem_cgroup
>    unset Used bit
>    clear pc->mem_cgroup
> seems reasonable.

Makes sense. I'll make sure we're consistent here.




More information about the Devel mailing list