Re: [PATCH 3/3] printer port driver: semaphore to mutex

From: Daniel Walker
Date: Thu Dec 06 2007 - 11:47:12 EST


On Thu, 2007-12-06 at 11:23 +0100, Ingo Molnar wrote:
> * Daniel Walker <dwalker@xxxxxxxxxx> wrote:
>
> > The port_mutex is actually a semaphore, so easily converted to a
> > struct mutex.
> >
> > Signed-off-by: Daniel Walker <dwalker@xxxxxxxxxx>
>
> Acked-by: Ingo Molnar <mingo@xxxxxxx>
>
> cool. How far away are we from being able to remove all the semaphore
> code? :-)

I wish my 7 patches made a dent, but it's hasn't done much. ;(

I would guess at least a week just to mop up the relatively easy ones..
I've got 12 in my queue, and there still ~50 hopefully trivial ones
still to be looked at.. Then another ~30 more difficult ones (that use
init_MUTEX_LOCKED, or sema_init with 0 instead of 1) ..

Daniel

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