aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorOleg Nesterov <oleg@redhat.com>2024-06-17 16:31:52 +0200
committerTejun Heo <tj@kernel.org>2024-06-19 07:18:41 -1000
commit6fe960147e08e931dda1ef325dc69320e544aa73 (patch)
tree53886297790fccbbd59f6a59026bd52447b83a90 /scripts/gdb/linux/utils.py
parentcgroup/cpuset: Optimize isolated partition only generate_sched_domains() calls (diff)
downloadwireguard-linux-6fe960147e08e931dda1ef325dc69320e544aa73.tar.xz
wireguard-linux-6fe960147e08e931dda1ef325dc69320e544aa73.zip
cgroup: avoid the unnecessary list_add(dying_tasks) in cgroup_exit()
cgroup_exit() needs to do this only if the exiting task is a leader and it is not the last live thread. The patch doesn't use delay_group_leader(), atomic_read(signal->live) matches the code css_task_iter_advance() more. cgroup_release() can now check list_empty(task->cg_list) before it takes css_set_lock and calls ss_set_skip_task_iters(). Signed-off-by: Oleg Nesterov <oleg@redhat.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions