From: Oleg Nesterov Date: Wed, 29 Mar 2006 00:11:28 +0000 (-0800) Subject: [PATCH] simplify do_signal_stop() X-Git-Tag: v2.6.17-rc1~171 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dac27f4a09c274db048e80d2511102e540ac9e3a;p=pandora-kernel.git [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 Cc: john stultz Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed