Re: Do not deprecate binary semaphore or do allow mutex in softwareinterrupt contexts

From: Arjan van de Ven
Date: Tue Sep 11 2007 - 14:22:46 EST


On Tue, 11 Sep 2007 10:29:19 -0700 (PDT)
Matti Linnanvuori <mattilinnanvuori@xxxxxxxxx> wrote:

> > Not being too familiar with the timer stuff, it smells wrong what
> > you say.
>
> Why?

timers and sleeping locks really shouldn't be mixed.
It ends up in general as more complex, fragile and weird...

But feel free to prove us otherwise with real code...
-
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/