From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1424334AbcFMOsJ (ORCPT ); Mon, 13 Jun 2016 10:48:09 -0400 Received: from mail-vk0-f43.google.com ([209.85.213.43]:32940 "EHLO mail-vk0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1423728AbcFMOsG (ORCPT ); Mon, 13 Jun 2016 10:48:06 -0400 MIME-Version: 1.0 In-Reply-To: <3475016.uenfZZHUnB@wuerfel> References: <1465814259-3009-1-git-send-email-binoy.jayan@linaro.org> <3475016.uenfZZHUnB@wuerfel> From: Binoy Jayan Date: Mon, 13 Jun 2016 20:18:04 +0530 Message-ID: Subject: Re: [PATCH 0/7] *** staging: wilc1000: Replace semaphores with mutexes or completions *** To: Arnd Bergmann Cc: Greg Kroah-Hartman , Johnny Kim , Austin Shin , Chris Park , Tony Cho , Glen Lee , Leo Kim , devel@driverdev.osuosl.org, linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 13 June 2016 at 19:59, Arnd Bergmann wrote: > 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 Thank you for reviewing the patches thoroughly. I overlooked the problem with using completion directly. Thank you for pointing that out. As you have suggested, I'll rework on the first 5 patches and work on the last one. Binoy