Re: [PATCH v4 2/2] cgroups: add a pids subsystem
From: Tejun Heo
Date: Mon Mar 09 2015 - 15:51:29 EST
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
--
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/