Home
last modified time | relevance | path

Searched refs:threadgroup (Results 1 – 4 of 4) sorted by relevance

/linux/tools/testing/selftests/bpf/progs/
H A Dcgroup_hierarchical_stats.c67 struct task_struct *task, bool threadgroup) in BPF_PROG()
66 BPF_PROG(counter,struct cgroup * dst_cgrp,struct task_struct * leader,bool threadgroup) BPF_PROG() argument
/linux/kernel/cgroup/
H A Dcgroup.c3060 int cgroup_migrate(struct task_struct *leader, bool threadgroup, in cgroup_migrate() argument
3074 if (!threadgroup) in cgroup_migrate()
3091 bool threadgroup) in cgroup_attach_task() argument
3102 if (!threadgroup) in cgroup_attach_task()
3110 ret = cgroup_migrate(leader, threadgroup, &mgctx); in cgroup_attach_task()
3115 TRACE_CGROUP_PATH(attach_task, dst_cgrp, leader, threadgroup); in cgroup_attach_task()
3120 struct task_struct *cgroup_procs_write_start(char *buf, bool threadgroup, in cgroup_procs_write_start() argument
3141 if (threadgroup) in cgroup_procs_write_start()
3166 if (pid || threadgroup) { in cgroup_procs_write_start()
3177 if (threadgroup) { in cgroup_procs_write_start()
[all …]
H A Dcgroup-v1.c500 bool threadgroup) in __cgroup1_procs_write() argument
512 task = cgroup_procs_write_start(buf, threadgroup, &lock_mode); in __cgroup1_procs_write()
532 ret = cgroup_attach_task(cgrp, task, threadgroup); in __cgroup1_procs_write()
/linux/Documentation/admin-guide/
H A Dcgroup-v2.rst2580 For a multithreaded process, the threadgroup leader is
2583 threadgroup leader. To avoid unexpected results, non-leading
2585 doesn't fully overlap that of the threadgroup leader.