[PATCH v6 3/3] cgroups: add a pids subsystem

2015-03-13 Thread Aleksa Sarai
Adds a new single-purpose pids subsystem to limit the number of tasks that can be forked inside a cgroup. Essentially this is an implementation of RLIMIT_NPROC that will applies to a cgroup rather than a process tree. However, it should be noted that organisational operations (adding and removing

[PATCH v6 3/3] cgroups: add a pids subsystem

2015-03-13 Thread Aleksa Sarai
Adds a new single-purpose pids subsystem to limit the number of tasks that can be forked inside a cgroup. Essentially this is an implementation of RLIMIT_NPROC that will applies to a cgroup rather than a process tree. However, it should be noted that organisational operations (adding and removing