diff options
author | Oleg Nesterov <oleg@redhat.com> | 2012-03-05 17:59:13 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-03-05 18:49:42 -0500 |
commit | 57b59c4a1400fa6c34764eab2e35a8762dc05a09 (patch) | |
tree | e50e6a6f9f7fcd897856e5cdaca3d3caa18377d6 /include | |
parent | d68b46fe16ad59b3a5f51ec73daaa5dc06753798 (diff) |
coredump_wait: don't call complete_vfork_done()
Now that CLONE_VFORK is killable, coredump_wait() no longer needs
complete_vfork_done(). zap_threads() should find and kill all tasks with
the same ->mm, this includes our parent if ->vfork_done is set.
mm_release() becomes the only caller, unexport complete_vfork_done().
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/sched.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index b6467711f12..11fcafaf4ae 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h | |||
@@ -2291,7 +2291,6 @@ extern int do_execve(const char *, | |||
2291 | const char __user * const __user *, | 2291 | const char __user * const __user *, |
2292 | const char __user * const __user *, struct pt_regs *); | 2292 | const char __user * const __user *, struct pt_regs *); |
2293 | extern long do_fork(unsigned long, unsigned long, struct pt_regs *, unsigned long, int __user *, int __user *); | 2293 | extern long do_fork(unsigned long, unsigned long, struct pt_regs *, unsigned long, int __user *, int __user *); |
2294 | extern void complete_vfork_done(struct task_struct *tsk); | ||
2295 | struct task_struct *fork_idle(int); | 2294 | struct task_struct *fork_idle(int); |
2296 | 2295 | ||
2297 | extern void set_task_comm(struct task_struct *tsk, char *from); | 2296 | extern void set_task_comm(struct task_struct *tsk, char *from); |