Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp1633610ybx; Sat, 2 Nov 2019 03:37:09 -0700 (PDT) X-Google-Smtp-Source: APXvYqwN9OPYkOfY/gr4upOoOx1fpgCAuYLHE2QpoVcCL10j/mHv/j/heRU1mLdN931qzGc6AlZu X-Received: by 2002:a17:906:c45:: with SMTP id t5mr9907144ejf.296.1572691029517; Sat, 02 Nov 2019 03:37:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572691029; cv=none; d=google.com; s=arc-20160816; b=UrcxMqDavh2ZEQ+Dqa1J4EpFa0EbJlaWdiTxYWJ3JMyxzPPYsIStsWp6/I5WoKeX0/ a6qtZt7dPTypaPs7vdYxSZYX+983utcnw8hV8nGEtql9BXfw+8vCUKVhxs/ycqrfHF53 bncYseGjR3XELt1WiMiM76VViOL/h2K7Oui9WW2WbJW/bnf8t+wWcIsOI8rKJQM8X8Qk H0DljS0U4czZeSZ0kvkS8rq1m7kDjieB2gWT7ueoXMhZlRSXT5uOec/ndAkEOIq+1/Yi P6S5rmsHqQTEygTDwtEcbyM+vMmL5GgJXJzzP4/HO8Q5RKZeCEL2O5G+q6DF7xFS71a+ ogqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=bJPUkO+qHMgx6Rg6I00SqmPvQoJY3IhzWWlb6F4q7uI=; b=U3EnN+A3+ixVLRmI0wvzZSPLTdUS01rjN2OYeSt6szXyTd+eEqDDJMRXT7VSIMmhRG Pq9dFyQRetK2UQno2XV6zDjCqtmcYhoPQFDK11XdCJ1uX6eEMb/w0FKblqIxDEDveIzu 7PlRSHm9P8pvfxKxiff/GFZwcIgNnub7c7a9Ld7PMDQSFObkn+eaiGtlp2W5/yyd0M6d gYB8onoi9N9lf4Pj+v4Otbo66xXconEbKecWXWcLOOWEoAi9TvE2O3rUNIw9d+OZ9ZyB jZyLRRchBR3GP0ss1AXChxIq4XPoCZHgJkOXV54RApz1x2IJ57AI7YUf4mlYNO+cjMER LoqQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=mnnZp8cg; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c3si2941184edx.315.2019.11.02.03.36.46; Sat, 02 Nov 2019 03:37:09 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=mnnZp8cg; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726742AbfKBKfS (ORCPT + 99 others); Sat, 2 Nov 2019 06:35:18 -0400 Received: from mail.kernel.org ([198.145.29.99]:46444 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725268AbfKBKfS (ORCPT ); Sat, 2 Nov 2019 06:35:18 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 577EA20679; Sat, 2 Nov 2019 10:35:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1572690917; bh=mbxbLsNycQLuE8Rszlxz5umA/C2he7utVAFoZom6eio=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=mnnZp8cgHwOL3Bklw15NKTAPy0z0ECSizzfhfDLGYPmHX8YE6yC4hExGqCyYunR2/ wfcqjzLuC8+/U1jXFDDHTPo996opRuMc04Iw41Ox8Xot2gY+Ef+llKYx45ZvyzYnd5 OetJZrUISpIrSB6ZYWKL8fkhh8dBRKx9lX1XU7xE= Date: Sat, 2 Nov 2019 11:35:15 +0100 From: Greg KH To: Davidlohr Bueso Cc: eric@anholt.net, wahrenst@gmx.net, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH resend] staging: vc04_services: replace g_free_fragments_mutex with spinlock Message-ID: <20191102103515.GA135926@kroah.com> References: <20191028165909.GA469472@kroah.com> <20191101182949.21225-1-dave@stgolabs.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191101182949.21225-1-dave@stgolabs.net> User-Agent: Mutt/1.12.2 (2019-09-21) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Nov 01, 2019 at 11:29:49AM -0700, Davidlohr Bueso wrote: > There is no need to be using a semaphore, or a sleeping lock > in the first place: critical region is extremely short, does not > call into any blocking calls and furthermore lock and unlocking > operations occur in the same context. > > Get rid of another semaphore user by replacing it with a spinlock. > > Signed-off-by: Davidlohr Bueso > --- > This is in an effort to further reduce semaphore users in the kernel. > > This is a resend, which just seems simpler given the confusions. > > .../staging/vc04_services/interface/vchiq_arm/vchiq_2835_arm.c | 10 +++++----- > 1 file changed, 5 insertions(+), 5 deletions(-) This patch does not apply to my tree at all, what did you make it against? Please fix up and resend. thanks, greg k-h