diff options
author | Oleg Nesterov <oleg@tv-sign.ru> | 2006-03-28 16:11:28 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-28 18:36:44 -0800 |
commit | dac27f4a09c274db048e80d2511102e540ac9e3a (patch) | |
tree | feb4af6d7b1a784ece9909b8d5f11bd6ad83cdca /kernel/profile.c | |
parent | a7e5328a06a2beee3a2bbfaf87ce2a7bbe937de1 (diff) |
[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 'kernel/profile.c')
0 files changed, 0 insertions, 0 deletions