Re: [patch] scalable timers implementation, 2.4.16, 2.5.0

Alan Cox (alan@lxorguk.ukuu.org.uk)
Thu, 6 Dec 2001 09:10:43 +0000 (GMT)


> The deadlock you're referring to is, I assume, del_timer_sync() called
> inside the timer itself? Can you think of any other dangerous cases?

Any case where the timer handler and the calling code both want the same
lock. So for example timer based I/O completion polling will deadlock
against request code doing a del_timer_sync
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/