Re: [RFC 3/3] memcg: get rid of mm_struct::owner

From: Tejun Heo
Date: Fri May 29 2015 - 09:11:12 EST


On Fri, May 29, 2015 at 02:08:38PM +0200, Michal Hocko wrote:
> > I suppose that making mm always follow the threadgroup leader should
> > be fine, right?
>
> That is the plan.

Cool.

> > While this wouldn't make any difference in the unified hierarchy,
>
> Just to make sure I understand. "wouldn't make any difference" because
> the API is not backward compatible right?

Hmm... because it's always per-process. If any thread is going, the
whole process is going together.

> > I think this would make more sense for traditional hierarchies.
>
> Yes I believe so.

Thanks.

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