Re: [PATCH] fix __mod_timer vs __run_timers deadlock.

Juergen Kreileder
2005-05-02T22:50:37Z

Andrew Morton <akpm@osdl.org> writes:

> Oleg Nesterov <oleg@tv-sign.ru> wrote:
>>
>> When __mod_timer() changes timer's base it waits for the completion
>> of timer->function. It is just stupid: the caller of __mod_timer()
>> can held locks which would prevent completion of the timer's
>> handler.
>>
>> Solution: do not change the base of the currently running timer.
>
> OK, fingers crossed. Juergen, it would be great if you could test
> Oleg's patch sometime.

I had one more lockup yesterday but that probably was caused by
something else because Azureus is running fine for 24 hours now.

Thanks Oleg!

Juergen

--
Juergen Kreileder, Blackdown Java-Linux Team