]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
__group_complete_signal: eliminate unneeded wakeup of ->group_exit_task
authorOleg Nesterov <oleg@tv-sign.ru>
Wed, 17 Oct 2007 06:27:00 +0000 (23:27 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 17 Oct 2007 15:42:51 +0000 (08:42 -0700)
commit18442cf28af81378cf8996d264b368bba47cf846
treeeb260ade275e939f6a3314bd5cbc538fc0cbad56
parent442a10cf9e1c350b4de4dd6f22c72618a0b13d7f
__group_complete_signal: eliminate unneeded wakeup of ->group_exit_task

Cleanup.  __group_complete_signal() wakes up ->group_exit_task twice.  The
second wakeup's state includes TASK_UNINTERRUPTIBLE, which is not very
appropriate.

Change the code to pass the "correct" argument to signal_wake_up() and kill
now unneeded wake_up_process().

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>
kernel/signal.c