Re: [PATCH 3/3] memcg: cleanup mem_cgroup_init comment

From: Johannes Weiner
Date: Tue Feb 05 2013 - 13:16:32 EST


On Tue, Feb 05, 2013 at 05:24:01PM +0100, Michal Hocko wrote:
> We should encourage all memcg controller initialization independent on
> a specific mem_cgroup to be done here rather than exploit css_alloc
> callback and assume that nothing happens before root cgroup is created.
>
> Signed-off-by: Michal Hocko <mhocko@xxxxxxx>

It seems a little strange to document that the subsystem init function
should be used for initializing the subsystem. But your new comment
is better than the old comment :-)

Acked-by: Johannes Weiner <hannes@xxxxxxxxxxx>
--
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/