Re: [PATCH 4/4] signalfd: make it group-wide, fix posix-timers scheduling

2007-08-14 Thread Oleg Nesterov
ps (for example, __exit_signal()->signalfd_detach_locked() is not needed unless we are group_leader), but this code be done later. [PATCH 4/4] signalfd: make it group-wide, fix posix-timers scheduling With this patch any thread can dequeue its own private signals via signalfd, even if it was crea

Re: [PATCH 4/4] signalfd: make it group-wide, fix posix-timers scheduling

2007-08-14 Thread Oleg Nesterov
, __exit_signal()-signalfd_detach_locked() is not needed unless we are group_leader), but this code be done later. [PATCH 4/4] signalfd: make it group-wide, fix posix-timers scheduling With this patch any thread can dequeue its own private signals via signalfd, even if it was created by another sub-thread

Re: [PATCH 4/4] signalfd: make it group-wide, fix posix-timers scheduling

2007-08-13 Thread Oleg Nesterov
On 08/12, Oleg Nesterov wrote: > > Untested, user visible change. > > With this patch any thread can dequeue its own private signals via signalfd, > even if it was created by another sub-thread. > > To do so, we pass "current" to dequeue_signal() if the caller is from the same > thread group.

Re: [PATCH 4/4] signalfd: make it group-wide, fix posix-timers scheduling

2007-08-13 Thread Oleg Nesterov
On 08/12, Oleg Nesterov wrote: Untested, user visible change. With this patch any thread can dequeue its own private signals via signalfd, even if it was created by another sub-thread. To do so, we pass current to dequeue_signal() if the caller is from the same thread group. This also

[PATCH 4/4] signalfd: make it group-wide, fix posix-timers scheduling

2007-08-12 Thread Oleg Nesterov
Untested, user visible change. With this patch any thread can dequeue its own private signals via signalfd, even if it was created by another sub-thread. To do so, we pass "current" to dequeue_signal() if the caller is from the same thread group. This also fixes the scheduling of posix timers

[PATCH 4/4] signalfd: make it group-wide, fix posix-timers scheduling

2007-08-12 Thread Oleg Nesterov
Untested, user visible change. With this patch any thread can dequeue its own private signals via signalfd, even if it was created by another sub-thread. To do so, we pass current to dequeue_signal() if the caller is from the same thread group. This also fixes the scheduling of posix timers