Re: [Patch RFC 01/37] semaphore: Add DEFINE_SEMAPHORE, semaphore_init,semaphore_init_locked

From: Thomas Gleixner
Date: Mon Jul 27 2009 - 11:33:01 EST


On Mon, 27 Jul 2009, Christoph Hellwig wrote:

> On Sun, Jul 26, 2009 at 04:04:49PM -0700, Daniel Walker wrote:
> > Maybe you could introduce this _after_ you do the semaphore to
> > completion cleanup .. This init_locked is just adding a bunch of code
> > flux on top of that..
>
> I agree. For these 36 patches we should first check if they can
> be trivially converted to mutexes or completions and only change them
> away to the semaphore named initializers.

I have already converted some of the users to mutexes where it was
obvious. It's part of the series.

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/