Re: 2.6.15-mm4

From: Ingo Molnar
Date: Sat Jan 14 2006 - 23:40:20 EST



* Brice Goglin <Brice.Goglin@xxxxxxxxxxxx> wrote:

> >Could you try the patch below?
>
> Yes, it does fix it. What's the bug ? The mutexes are supposed to work
> where semaphores do, aren't they ?

no, not always. We could introduce mutex_trylock_irqsafe() and
mutex_unlock_irqsafe(), but it's probably not worth doing it - it's just
3-4 cases so far, out of hundreds of mutex conversions.

Ingo
-
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/