signals: de_thread: simplify the ->child_reaper switching
authorOleg Nesterov <oleg@tv-sign.ru>
Wed, 30 Apr 2008 07:53:04 +0000 (00:53 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 30 Apr 2008 15:29:37 +0000 (08:29 -0700)
commit7a5e873f096e04e6d8719e4ecb7b70d2decca503
tree2d3f7cc6c15e03de02484f9d754a9174ce2fff76
parentfae5fa44f1fd079ffbed8e0add929dd7bbd1347f
signals: de_thread: simplify the ->child_reaper switching

Now that we rely on SIGNAL_UNKILLABLE flag, de_thread() doesn't need the nasty
hack to kill the old ->child_reaper during the mt-exec.

This also means we can avoid taking tasklist_lock around zap_other_threads().

Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Cc: Roland McGrath <roland@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/exec.c