]> git.karo-electronics.de Git - karo-tx-linux.git/commit
coredump_wait: don't call complete_vfork_done()
authorOleg Nesterov <oleg@redhat.com>
Mon, 22 Aug 2011 13:01:27 +0000 (15:01 +0200)
committerOleg Nesterov <oleg@redhat.com>
Mon, 22 Aug 2011 13:24:01 +0000 (15:24 +0200)
commit6c7a23b9f381682a2b636347de0cb33eaf386346
tree88ebe2613deeb3cf70579dcce72ec4a9d8795ae5
parent512c0ddb49d2e76f622a21ca6bb25957b6018505
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>
fs/exec.c
include/linux/sched.h
kernel/fork.c