summaryrefslogtreecommitdiffstats
path: root/fs/binfmt_misc.c
diff options
context:
space:
mode:
authorOleg Nesterov <oleg@tv-sign.ru>2006-03-29 02:11:28 +0200
committerLinus Torvalds <torvalds@g5.osdl.org>2006-03-29 04:36:44 +0200
commitdac27f4a09c274db048e80d2511102e540ac9e3a (patch)
treefeb4af6d7b1a784ece9909b8d5f11bd6ad83cdca /fs/binfmt_misc.c
parent[PATCH] cleanup __exit_signal->cleanup_sighand path (diff)
downloadlinux-dac27f4a09c274db048e80d2511102e540ac9e3a.tar.xz
linux-dac27f4a09c274db048e80d2511102e540ac9e3a.zip
[PATCH] simplify do_signal_stop()
do_signal_stop() considers 'thread_group_empty()' as a special case. This was needed to avoid taking tasklist_lock. Since this lock is unneeded any longer, we can remove this special case and simplify the code even more. Also, before this patch, finish_stop() was called with stop_count == -1 for 'thread_group_empty()' case. This is not strictly wrong, but confusing and unneeded. Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru> Cc: john stultz <johnstul@us.ibm.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/binfmt_misc.c')
0 files changed, 0 insertions, 0 deletions