Re: [PATCH] fix send_sigqueue() vs thread exit race
From: Oleg Nesterov
Date: Sun Aug 21 2005 - 05:50:21 EST
Thomas Gleixner wrote:
>
> arm timer
> exit
> timer event
I think there is another bug here.
CPU_0 CPU_1
release_task: posix_timer_fn:
write_lock(tasklist); lock(timer->it_lock);
exit_timers: send_sigxxx();
lock(timer->it_lock) read_lock(tasklist);
Deadlock.
Dear cc-list, what do you think?
Oleg.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/