Lines Matching +full:parent +full:- +full:child
6 --------
17 -----
27 policy through fork() or clone(). fork() and clone() will return -EAGAIN if the
34 pids.current tracks all child cgroup hierarchies, so parent/pids.current is a
35 superset of parent/child/pids.current.
39 - max: Number of times fork failed because limit was hit.
42 -------
46 # mkdir -p /sys/fs/cgroup/pids
47 # mount -t cgroup -o pids none /sys/fs/cgroup/pids
51 # mkdir -p /sys/fs/cgroup/pids/parent/child
52 # echo 2 > /sys/fs/cgroup/pids/parent/pids.max
53 # echo $$ > /sys/fs/cgroup/pids/parent/cgroup.procs
54 # cat /sys/fs/cgroup/pids/parent/pids.current
61 # cat /sys/fs/cgroup/pids/parent/pids.current
67 Even if we migrate to a child cgroup (which doesn't have a set limit), we will
69 parent's)::
71 # echo $$ > /sys/fs/cgroup/pids/parent/child/cgroup.procs
72 # cat /sys/fs/cgroup/pids/parent/pids.current
74 # cat /sys/fs/cgroup/pids/parent/child/pids.current
76 # cat /sys/fs/cgroup/pids/parent/child/pids.max
86 # echo 1 > /sys/fs/cgroup/pids/parent/pids.max
89 # echo 0 > /sys/fs/cgroup/pids/parent/pids.max