Christiano F. Haesbaert wrote: > There is another bug, the thread runs outside of IPL_SOFTCLOCK, the > interrupt handler already runs at IPL_SOFTCLOCK so it did not need to raise > it, but the thread does. > > The mutex is not enough as it will drop before running the handler, this > can cause intr timeouts to interrupt proc timeouts.
Is this a real bug? A proc timeout can, by definition, sleep, so it shouldn't be making any assumptions about running atomically. If it needs to block timeouts, the handler should use spl.