The patch titled de_thread: fix lockless do_each_thread has been removed from the -mm tree. Its filename is de_thread-fix-lockless-do_each_thread.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ Subject: de_thread: fix lockless do_each_thread From: Oleg Nesterov <oleg@xxxxxxxxxx> We should keep the value of old_leader->tasks.next in de_thread, otherwise we can't do for_each_process/do_each_thread without tasklist_lock held. Signed-off-by: Oleg Nesterov <oleg@xxxxxxxxxx> Cc: "Eric W. Biederman" <ebiederm@xxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- fs/exec.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff -puN fs/exec.c~de_thread-fix-lockless-do_each_thread fs/exec.c --- a/fs/exec.c~de_thread-fix-lockless-do_each_thread +++ a/fs/exec.c @@ -707,7 +707,7 @@ static int de_thread(struct task_struct attach_pid(current, PIDTYPE_PID, current->pid); attach_pid(current, PIDTYPE_PGID, current->signal->pgrp); attach_pid(current, PIDTYPE_SID, current->signal->session); - list_add_tail_rcu(¤t->tasks, &init_task.tasks); + list_replace_rcu(&leader->tasks, ¤t->tasks); current->group_leader = current; leader->group_leader = current; @@ -715,7 +715,6 @@ static int de_thread(struct task_struct /* Reduce leader to a thread */ detach_pid(leader, PIDTYPE_PGID); detach_pid(leader, PIDTYPE_SID); - list_del_init(&leader->tasks); current->exit_signal = SIGCHLD; _ Patches currently in -mm which might be from oleg@xxxxxxxxxx are origin.patch sched-uninline-task_rq_lock.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html