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>
This commit is contained in:
committed by
Linus Torvalds
parent
d68b46fe16
commit
57b59c4a14
+1
-1
@@ -668,7 +668,7 @@ struct mm_struct *mm_access(struct task_struct *task, unsigned int mode)
|
||||
return mm;
|
||||
}
|
||||
|
||||
void complete_vfork_done(struct task_struct *tsk)
|
||||
static void complete_vfork_done(struct task_struct *tsk)
|
||||
{
|
||||
struct completion *vfork;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user