lkml.org 
[lkml]   [2015]   [Mar]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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


\
 
 \ /
  Last update: 2015-03-09 21:01    [W:0.196 / U:0.612 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site