Re: PIDs Controller Limit

From: Tejun Heo
Date: Fri Sep 25 2015 - 11:39:20 EST


Hello, Aleksa.

On Thu, Sep 24, 2015 at 09:42:38AM +1000, Aleksa Sarai wrote:
> 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.

I don't know. Why does it matter?

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/