summaryrefslogtreecommitdiffstats
path: root/kernel/exit.c
diff options
context:
space:
mode:
authorOleg Nesterov <oleg@redhat.com>2023-08-26 13:14:09 +0200
committerAndrew Morton <akpm@linux-foundation.org>2023-10-04 10:41:56 -0700
commit8e1f385104ac044f1552686ad6e1cbc71cc05a30 (patch)
tree223317c54e65c8b62187e6de620f8bc8167a2370 /kernel/exit.c
parente34a35ee1f52312af130b5ebd42fa28313fc6149 (diff)
downloadlinux-8e1f385104ac044f1552686ad6e1cbc71cc05a30.tar.gz
linux-8e1f385104ac044f1552686ad6e1cbc71cc05a30.tar.bz2
linux-8e1f385104ac044f1552686ad6e1cbc71cc05a30.zip
kill task_struct->thread_group
The last user was removed by the previous patch. Link: https://lkml.kernel.org/r/20230826111409.GA23243@redhat.com Signed-off-by: Oleg Nesterov <oleg@redhat.com> Cc: Eric W. Biederman <ebiederm@xmission.com> Cc: Peter Zijlstra <peterz@infradead.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'kernel/exit.c')
-rw-r--r--kernel/exit.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/exit.c b/kernel/exit.c
index edb50b4c9972..f3ba4b97a7d9 100644
--- a/kernel/exit.c
+++ b/kernel/exit.c
@@ -133,7 +133,6 @@ static void __unhash_process(struct task_struct *p, bool group_dead)
list_del_init(&p->sibling);
__this_cpu_dec(process_counts);
}
- list_del_rcu(&p->thread_group);
list_del_rcu(&p->thread_node);
}