Lines Matching full:task
53 A *subsystem* is a module that makes use of the task grouping
61 every task in the system is in exactly one of the cgroups in the
66 At any one time there may be multiple active hierarchies of task
71 which cgroup a task is assigned, and list the task PIDs assigned to
177 - Each task in the system has a reference-counted pointer to a
182 registered in the system. There is no direct link from a task to
188 task's actual cgroup assignments (in particular, moving between
204 - in fork and exit, to attach and detach a task from its css_set.
232 Each task under /proc has an added file named 'cgroup' displaying,
262 The attachment of each task, automatically inherited at fork by any
263 children of that task, to a cgroup allows organizing the work load
264 on a system into related sets of tasks. A task may be re-attached to
268 When a task is moved from one cgroup to another, it gets a new
282 each css_set's task set.
292 whenever the last task in the cgroup leaves (exits or attaches to
322 5) Start a task that will be the "founding father" of the new job.
323 6) Attach that task to the new cgroup by writing its PID to the
325 7) fork, exec or clone the job tasks from this founding father task.
447 Note that it is PID, not PIDs. You can only attach ONE task at a time.
455 You can attach the current shell task by echoing 0::
460 threads in a threadgroup at once. Echoing the PID of any task in a
463 in the writing task's threadgroup.
465 Note: Since every task is always a member of exactly one cgroup in each
466 mounted hierarchy, to remove a task from its current cgroup you must
533 Accessing a task's cgroup pointer may be done in the following ways:
535 - while holding the task's alloc_lock (via task_lock())
600 least one task in it.
606 - the first task is the leader
608 Each @tset entry also contains the task's old cgroup and tasks which
632 Called when a task attach operation has failed after can_attach() has succeeded.
641 Called after the task has been attached to the cgroup, to allow any
645 ``void fork(struct task_struct *task)``
647 Called when a task is forked into a cgroup.
649 ``void exit(struct task_struct *task)``
651 Called during task exit.
653 ``void free(struct task_struct *task)``