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

Tejun Heo
2015-05-29T13:11:10Z

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