Lines Matching refs:tasks
2 and stop sets of tasks in order to schedule the resources of a machine
5 whole. The cgroup freezer uses cgroups to describe the set of tasks to
7 a means to start and stop the tasks composing the job.
10 of tasks. The freezer allows the checkpoint code to obtain a consistent
11 image of the tasks by attempting to force the tasks in a cgroup into a
12 quiescent state. Once the tasks are quiescent another task can
14 quiesced tasks. Checkpointed tasks can be restarted later should a
15 recoverable error occur. This also allows the checkpointed tasks to be
17 to another node and restarting the tasks there.
20 and resuming tasks in userspace. Both of these signals are observable
21 from within the tasks we wish to freeze. While SIGSTOP cannot be caught,
22 blocked, or ignored it can be seen by waiting or ptracing parent tasks.
25 attempting to use SIGSTOP and SIGCONT to stop and resume tasks. We can
45 have a problem with this method of stopping and resuming tasks.
48 prevent the freeze/unfreeze cycle from becoming visible to the tasks
53 tasks belonging to the cgroup and all its descendant cgroups. Each
66 FREEZING cgroup transitions into FROZEN state when all tasks
101 # echo $some_pid > /sys/fs/cgroup/freezer/0/tasks
108 to freeze all tasks in the container :
116 to unfreeze all tasks in the container :