summaryrefslogtreecommitdiffstats
path: root/kernel/posix-timers.c
diff options
context:
space:
mode:
authorOleg Nesterov <oleg@tv-sign.ru>2008-04-30 00:52:56 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2008-04-30 08:29:36 -0700
commite62e6650e99a3dffcd0bf0d063cd818fbc13fa95 (patch)
tree75f79d45eb89fb75014117b6fdc67bae1608f826 /kernel/posix-timers.c
parent4cd4b6d4e0372075f846feb85aea016cbdbfec4c (diff)
downloadop-kernel-dev-e62e6650e99a3dffcd0bf0d063cd818fbc13fa95.zip
op-kernel-dev-e62e6650e99a3dffcd0bf0d063cd818fbc13fa95.tar.gz
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 <xemul@openvz.org> 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>
Diffstat (limited to 'kernel/posix-timers.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud