Skip to contentSkip to conversation

scalable timers implementation, 2.4.16, 2.5.0

PATCH Andi Kleen 1 participant 1 message Dec 6, 2001 1 message not in the archive

lore
Share & tools
lore

Andi Kleen

author
#1 lore raw
In reply to a message not in the archive
Quoted 2 lines · Rusty Russell

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?

Common seems to be:

CPU#0 CPU#1

timer fires
spinlock()
spinlock() - spinning
del_timer_sync()

-> deadlock.

-Andi