Re: [PATCH v3 5/6] memcg: make mem_cgroup_reparent_charges non failing

From: Glauber Costa
Date: Mon Oct 29 2012 - 10:07:39 EST


On 10/26/2012 03:37 PM, Michal Hocko wrote:
> Now that pre_destroy callbacks are called from the context where neither
> any task can attach the group nor any children group can be added there
> is no other way to fail from mem_cgroup_pre_destroy.
> mem_cgroup_pre_destroy doesn't have to take a reference to memcg's css
> because all css' are marked dead already.
>
> Signed-off-by: Michal Hocko <mhocko@xxxxxxx>

Good change.

Reviewed-by: Glauber Costa <glommer@xxxxxxxxxxxxx>

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