Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp2758266ybx; Sun, 3 Nov 2019 03:18:45 -0800 (PST) X-Google-Smtp-Source: APXvYqyjWw6lZHUtgcoGk7IuBMMBnJKzzs0vRENp61G8OBb37RXqo9l7DQ+aZ1hScKJcHeWrQ5cE X-Received: by 2002:aa7:d4d8:: with SMTP id t24mr13340558edr.40.1572779925241; Sun, 03 Nov 2019 03:18:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1572779925; cv=none; d=google.com; s=arc-20160816; b=ZUfc//WZ7+7PhkxN4T47Rzh6hY391qCu6OumRkEuhFOxHlfmHiOtP6Wrg6j1SFa7ql mCmVdM0xIzXBuo7xU7lT+2BaD3HTN4c4C0qx5mkMB38FCWh5w5AwrCM0OoZXjruZ4TK2 oRywP+Iwfp01Re0KjaNtaG5cUedPqWUkS71PSM49XhSdidplXQn5mN62luPsGqooy6q/ dsrLvR1vg9zwHaVYc4P7fCgfnSStcwW1Y7eA5W7uXMEI61l7x1obYL3IlGahxqrnYeD6 h2/9B55pKClCM40+WLBXzKmuFxdP+kxxT4Pqb6uthR2Swky8nJsHAclwtp8cC0DPWnPT 9CYw== 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=nz7EeA/pso7yMSwd3q6jsDYEXyDCyd3V9F+OMmOTChs=; b=y+9OmAQNpbGiw+otpOjTwRarFW0ghW1P/z/ZYLHJ8DZzAlua3Xw2GZU/7xAS57UXXW nuEbSvzxjInd+ikHoqb9DQVV8TPKYQ4/a5xOdXTVizxj/gQ9Hw5YGrQj6k6VEz3yPdHl 5+80OhyS1AMUXSdK0U9Jq5PNVAs4Sh1VP3VEQAMruwmu8McBJIBQlYpG341VQO4O13VD WaODX0gv9BCBf9RlxXD6BvB1dVvTVrB6S/LiJ2b7iTWdvxXnlXGXzNc0a+apTdPrersi Gpi8WaPCI/vo11H1Kc3NptB4Xqd+Dvc3/LFyFXG9mzrLgvuv8+dl0hKmI9IafYzX8ke2 gwCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=LXy92CR4; 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 8si10763727ejc.104.2019.11.03.03.18.20; Sun, 03 Nov 2019 03:18:45 -0800 (PST) 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=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=LXy92CR4; 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 S1727558AbfKCLRs (ORCPT + 99 others); Sun, 3 Nov 2019 06:17:48 -0500 Received: from bombadil.infradead.org ([198.137.202.133]:32776 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726998AbfKCLRr (ORCPT ); Sun, 3 Nov 2019 06:17:47 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=nz7EeA/pso7yMSwd3q6jsDYEXyDCyd3V9F+OMmOTChs=; b=LXy92CR4HL0oTq7JTykoQQLtE SGKVsKAzYb1PwV3Gq8PdfuHGciDSvKRaKgcR4X1HQB5/fzRUDPXomELSZWlsNNRV1WbDs7ja9giZH M1U7NSDBiii9QO30HFuBwZWLjPZ99JMe3D3inERtfrJAEtylGMsZpvcBapUSGlgN4u3nyLJCwJPzH QO1Y2mZLzcarwVPeHpqfulMSNhddMrG/NenKwf6FMxdJD/LNwHkNoRqlhtRajtx9Y8zEOCchc9ro5 83AEKUmFAj2E6lRkfs9QlCpL1c6FUvQAYI+iHVsqsTkpkrCOfFimTNRv3w3D3Bs12V1BBF1F9eJ7a LtHFoEpPw==; Received: from willy by bombadil.infradead.org with local (Exim 4.92.3 #3 (Red Hat Linux)) id 1iRDt5-0008GJ-2Z; Sun, 03 Nov 2019 11:17:39 +0000 Date: Sun, 3 Nov 2019 03:17:38 -0800 From: Matthew Wilcox To: David Howells Cc: Linus Torvalds , Rasmus Villemoes , Greg Kroah-Hartman , Peter Zijlstra , Nicolas Dichtel , raven@themaw.net, Christian Brauner , keyrings@vger.kernel.org, linux-usb@vger.kernel.org, linux-block , LSM List , linux-fsdevel , Linux API , Linux Kernel Mailing List Subject: Re: [RFC PATCH 04/10] pipe: Use head and tail pointers for the ring, not cursor and length [ver #2] Message-ID: <20191103111738.GC15832@bombadil.infradead.org> References: <157186182463.3995.13922458878706311997.stgit@warthog.procyon.org.uk> <157186186167.3995.7568100174393739543.stgit@warthog.procyon.org.uk> <24075.1572533871@warthog.procyon.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <24075.1572533871@warthog.procyon.org.uk> User-Agent: Mutt/1.12.1 (2019-06-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Oct 31, 2019 at 02:57:51PM +0000, David Howells wrote: > Linus Torvalds wrote: > > > It's shorter and more obvious to just write > > > > pipe->head = head; > > > > than it is to write > > > > pipe_commit_write(pipe, head); > > But easier to find the latter. But whatever. May I suggest that you use a name that's easier to grep for? $ git grep -cw p_tail drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c:9 $ git grep -cw p_head drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c:3