Files
kernel-tenderloin-3.0/kernel
Oleg Nesterov 4aa7361179 posix-timers: don't switch to ->group_leader if ->it_process dies
posix_timer_event() drops SIGEV_THREAD_ID and switches to ->group_leader
if send_sigqueue() fails.

This is not very useful and doesn't work reliably.  send_sigqueue() can
only fail if ->it_process is dead.  But it can die before it dequeues the
SI_TIMER signal, in that case the timer stops anyway.

Remove this code.  I guess it was needed a long ago to ensure that the
timer is not destroyed when when its creator thread dies.

Q: perhaps it makes sense to change sys_timer_settime() to return an error
if ->it_process is dead?

Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Cc: mingo@elte.hu
Cc: Roland McGrath <roland@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2008-09-24 15:45:47 +02:00
..
2008-07-28 23:32:00 +02:00
2008-09-14 16:25:35 +02:00
2008-07-26 20:53:20 -04:00
2008-09-14 16:25:35 +02:00
2008-09-23 13:38:44 +02:00
2008-03-30 14:18:41 -07:00
2008-09-14 16:25:35 +02:00
2008-07-28 14:37:38 +02:00
2008-08-01 08:39:35 -05:00
2008-07-26 12:00:09 -07:00
2008-08-13 12:55:10 +02:00
2008-09-02 19:21:40 -07:00
2008-08-25 17:39:57 +02:00
2008-09-14 16:25:35 +02:00
2008-09-14 16:25:35 +02:00
2008-09-14 16:25:35 +02:00
2008-07-25 10:53:45 -07:00
2008-04-30 08:29:53 -07:00