|| ||Tejun Heo <tj-DgEjT+Ai2ygdnm+yROfE0A-AT-public.gmane.org> |
|| ||Li Zefan <lizf-BthXqXjhjHXQFUHtdCDX3A-AT-public.gmane.org>,
containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA-AT-public.gmane.org, cgroups-u79uwXL29TY76Z2rM5mHXA-AT-public.gmane.org |
|| ||Re: [RFD] cgroup: about multiple hierarchies |
|| ||Mon, 12 Mar 2012 15:10:50 -0700|
|| ||Andrew Morton <akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b-AT-public.gmane.org>,
Kay Sievers <kay.sievers-tD+1rO4QERM-AT-public.gmane.org>,
Lennart Poettering <lennart-mdGvqq1h2p+GdvJs77BJ7Q-AT-public.gmane.org>,
Frederic Weisbecker <fweisbec-Re5JQEeQqe8AvxtiuMwx3w-AT-public.gmane.org>,
linux-kernel-u79uwXL29TY76Z2rM5mHXA-AT-public.gmane.org, Vivek Goyal <vgoyal-H+wXaHxf7aLQT0dZR+AlfA-AT-public.gmane.org>,
Michal Schmidt <mschmidt-H+wXaHxf7aLQT0dZR+AlfA-AT-public.gmane.org>,
Peter Zijlstra <peterz-wEGCiKHe2LqWVfeAwA7xHQ-AT-public.gmane.org>|
|| ||Article, Thread
Thanks a lot for the discussion and here are my take aways:
* At least to me, nobody seems to have strong enough justification for
orthogonal multiple hierarchies, so, yeah, unless something else
happens, I'm scheduling multiple hierarchy support for the chopping
block. This is a long term thing (think years), so no need to panic
right now and as is life plans may change and fail to materialize,
but I intend to at least move away from it.
* Several people pointed out that it would be inconvenient to require
cgroup hierarchy to be a strict super-imposed tree on top of process
tree and that program groups / sessions aren't like that either. I
agree, so it will hopefully be single hierarchy which more or less
behaves the same as the current hierarchy.
* How to map controllers which aren't aware of full hierarchy is still
an open question but I'm still standing by one active node on any
root-to-leaf path w/ root group serving as the special rest group.
This should happen first for the long migration to begin. I might
get to it someday but if anyone can beat me to it, please go ahead.
I'll be ecstatic to review and merge the patches.
Also, I'll slowly be marking features which don't seem essential,
especially the convenience features for multiple hierarchies, as
deprecated and eventually chop them.
to post comments)