public inbox for cgroups@vger.kernel.org
 help / color / mirror / Atom feed
* PIDs Controller Limit
@ 2015-09-23 23:42 Aleksa Sarai
       [not found] ` <CAOviyajLPivBQLauYHWTW71PHyvF15X=Ocu8JDc-92s0k3XRwA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Aleksa Sarai @ 2015-09-23 23:42 UTC (permalink / raw)
  To: Tejun Heo; +Cc: linux-kernel, cgroups

Does it make sense for the PIDs controller to allow a user to set a
limit of 0? Since we don't cancel attaches, a limit of 0 doesn't
affect anything (nothing stops attaches, and you need to have a
process in the PIDs cgroup in order for fork()s to be affected by the
limit). So I think that attempting to set pid.limit to 0 should return
an -EINVAL.

-- 
Aleksa Sarai (cyphar)
www.cyphar.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-09-29  6:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-23 23:42 PIDs Controller Limit Aleksa Sarai
     [not found] ` <CAOviyajLPivBQLauYHWTW71PHyvF15X=Ocu8JDc-92s0k3XRwA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-09-25 15:39   ` Tejun Heo
2015-09-25 23:11     ` Aleksa Sarai
     [not found]       ` <CAOviyagSDkNWY1X7d=nAhgqkOz2fE+ck+rS9Fn_hfMbCZHRyKw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-09-28 15:51         ` Tejun Heo
2015-09-29  6:13         ` Nikolay Borisov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox