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. -- To unsubscribe from this list: send the line "unsubscribe cgroups" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html