Lines Matching refs:cgroup

5 The cgroup freezer is useful to batch job management system which start
9 whole. The cgroup freezer uses cgroups to describe the set of tasks to
13 The cgroup freezer will also be useful for checkpointing running groups
15 image of the tasks by attempting to force the tasks in a cgroup into a
51 In contrast, the cgroup freezer uses the kernel freezer code to
56 The cgroup freezer is hierarchical. Freezing a cgroup freezes all
57 tasks belonging to the cgroup and all its descendant cgroups. Each
58 cgroup has its own state (self-state) and the state inherited from the
59 parent (parent-state). Iff both states are THAWED, the cgroup is
62 The following cgroupfs files are created by cgroup freezer.
66 When read, returns the effective state of the cgroup - "THAWED",
68 If any is freezing, the cgroup is freezing (FREEZING or FROZEN).
70 FREEZING cgroup transitions into FROZEN state when all tasks
71 belonging to the cgroup and its descendants become frozen. Note that
72 a cgroup reverts to FREEZING from FROZEN after a new task is added
73 to the cgroup or one of its descendant cgroups until the new task is
76 When written, sets the self-state of the cgroup. Two values are
77 allowed - "FROZEN" and "THAWED". If FROZEN is written, the cgroup,
81 If THAWED is written, the self-state of the cgroup is changed to
83 the parent-state is still freezing. If a cgroup's effective state
85 the cgroup also leave the freezing state.
94 Shows the parent-state. 0 if none of the cgroup's ancestors is
97 The root cgroup is non-freezable and the above interface files don't
102 # mkdir /sys/fs/cgroup/freezer
103 # mount -t cgroup -ofreezer freezer /sys/fs/cgroup/freezer
104 # mkdir /sys/fs/cgroup/freezer/0
105 # echo $some_pid > /sys/fs/cgroup/freezer/0/tasks
109 # cat /sys/fs/cgroup/freezer/0/freezer.state
114 # echo FROZEN > /sys/fs/cgroup/freezer/0/freezer.state
115 # cat /sys/fs/cgroup/freezer/0/freezer.state
117 # cat /sys/fs/cgroup/freezer/0/freezer.state
122 # echo THAWED > /sys/fs/cgroup/freezer/0/freezer.state
123 # cat /sys/fs/cgroup/freezer/0/freezer.state