Re: [PATCHSET for-4.11] cgroup: implement cgroup v2 thread mode

From: Peter Zijlstra
Date: Wed Mar 22 2017 - 10:52:57 EST


On Tue, Mar 21, 2017 at 01:39:58PM +0100, Peter Zijlstra wrote:
>
> And yes, having to consider views is new and a direct consequence of
> this new optional feature. But I don't see how its a problem.
>

So aside from having (RO) links in thread groups for system controllers,
we could also have a ${controller}_parent link back to whatever group is
the actual parent for that specific controller's view.

So then your B's memcg_parent would point to A, not T.

But I feel this is all superfluous window dressing; but if you want to
clarify the filesystem interface, this could be something to consider.