From: Oleg Nesterov switch_exec_pids() already added 'current' to init_task.tasks, no need to re-add in de_thread(). Signed-off-by: Oleg Nesterov Cc: Ingo Molnar Cc: Roland McGrath Cc: "Eric W. Biederman" Signed-off-by: Andrew Morton --- fs/exec.c | 2 -- 1 files changed, 2 deletions(-) diff -puN fs/exec.c~dont-touch-current-tasks-in-de_thread fs/exec.c --- 25/fs/exec.c~dont-touch-current-tasks-in-de_thread Thu Feb 2 15:49:51 2006 +++ 25-akpm/fs/exec.c Thu Feb 2 15:49:51 2006 @@ -722,8 +722,6 @@ static int de_thread(struct task_struct __ptrace_link(current, parent); } - list_del(¤t->tasks); - list_add_tail(¤t->tasks, &init_task.tasks); current->exit_signal = SIGCHLD; BUG_ON(leader->exit_state != EXIT_ZOMBIE); _