Re: [patch 00/30] semaphore cleanup

From: Thomas Gleixner
Date: Tue Sep 07 2010 - 11:39:06 EST


On Tue, 7 Sep 2010, Arnd Bergmann wrote:

> On Tuesday 07 September 2010, Thomas Gleixner wrote:
> > init_MUTEX[_LOCKED] and DECLARE_MUTEX are deprecated for quite some
> > time. Cleanup the remaining users and remove the cruft.
>
> How many of these really need to be semaphores and can't be converted
> to mutex or completion? I thought that we wanted to send the classic
> semaphore the same way as the BKL eventually.

Some of those can be converted to completions, but most of them have
utterly borked semantics. I'm not sure if its worth the trouble to
actually change all this as most of that stuff is ancient. Real
semaphores are not going away (at least not the counting type ones).

Thanks,

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/