Re: rtmutex's wait_lock in 2.6.18-rt7

From: Thomas Gleixner
Date: Tue Oct 24 2006 - 05:46:08 EST


On Mon, 2006-10-23 at 11:55 +0200, Esben Nielsen wrote:
> Hi,
> I see that in 2.6.18-rt7 the rtmutex's wait_lock is sudden interrupt
> disabling. I don't see the need as no (hard) interrupt-handlers should be
> touching any mutex.

It does not touch mutexes, but the dynamic priority adjustment of the
hrtimer softirq needs it.

The correct solution will be moving the timer callback into the process
context, as it will be woken up anyway, but that's more complex to do
than it looks in the first place.

tglx


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/