Messages in this thread | | | Date | Mon, 9 Mar 2015 15:51:17 -0400 | From | Tejun Heo <> | Subject | Re: [PATCH v4 2/2] cgroups: add a pids subsystem |
| |
Hello, Austin.
On Mon, Mar 09, 2015 at 02:58:11PM -0400, Austin S Hemmelgarn wrote: > On 2015-03-08 23:34, Tejun Heo wrote: > > > >Does pids limit make sense in the root cgroup? > > > I would say it kind of does, although I would just expect it to track > /proc/sys/kernel/pid_max (either as a read-only value, or as an alternative > way to set it).
I don't think that's a good idea. It doesn't add anything while putting pids controller in conflict with how other controllers handle the root cgroup. Furthermore, I don't think it's generally a good idea to add things because it may help convenience in some cases, which is exactly the case here. Why add non-orthogonal component when the only reason is "yeah, it may be a bit more convenient in some imaginary cases"? We'd be restricting the design space we can move inside for no good reason.
Thanks.
-- tejun
| |