Re: [PATCH 0/7] *** staging: wilc1000: Replace semaphores with mutexes or completions ***

From: Arnd Bergmann
Date: Mon Jun 13 2016 - 10:28:44 EST


On Monday, June 13, 2016 4:07:32 PM CEST Binoy Jayan wrote:
> Hi,
>
> These are a set of patches which removes semaphores from:
>
> drivers/staging/wilc1000
>
> These are part of a bigger effort to eliminate all semaphores
> from the linux kernel.
>
> They build correctly (individually and as a whole).
>
> NB: The changes are untested
>

Most of these look really good, but I've commented on what I think
should be done differently, most importantly using a work_queue
rather than a completion to replace the semaphore in patch 6.

Maybe you can resend the first five patches after addressing
my comments so we can get those tested and queued already while
you look into reworking patch 6. Let me know if that one ends up
being more complicated than I thought so we can come up with
a different approach.

Arnd