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 linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/