From: Oleg Nesterov Date: Wed, 30 Apr 2008 07:52:56 +0000 (-0700) Subject: signals: unify send_sigqueue/send_group_sigqueue completely X-Git-Tag: v2.6.26-rc1~285 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e62e6650e99a3dffcd0bf0d063cd818fbc13fa95;p=pandora-kernel.git signals: unify send_sigqueue/send_group_sigqueue completely Suggested by Pavel Emelyanov. send_sigqueue/send_group_sigqueue are only differ in how they lock ->siglock. Unify them. send_group_sigqueue() uses spin_lock() because it knows the task can't exit, but in that case lock_task_sighand() can't fail and doesn't hurt. Note that the "sig" argument is ignored, it is always equal to ->si_signo. Signed-off-by: Pavel Emelyanov Signed-off-by: Oleg Nesterov Cc: Roland McGrath Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed