Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp1259133ybx; Thu, 31 Oct 2019 07:59:28 -0700 (PDT) X-Google-Smtp-Source: APXvYqzlFGt1nQSjbaSEqZd6anpvURE87GepahCHyIIjX87nzaYEnAUXy2+Mev7R9Xt0Znt5/AuZ X-Received: by 2002:a50:f382:: with SMTP id g2mr6798770edm.240.1572533968579; Thu, 31 Oct 2019 07:59:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572533968; cv=none; d=google.com; s=arc-20160816; b=L+YpfWIxTLBlacXQsZFoy3WU5SXSVHaKvb949eF0uBAB9Lk/wihCJWoD2cnpqQW42/ HJJUCjnaA5g3yl+01MbrxpbWHkIhRkwoZehULZH4M7Gk8Fl+VFgDjJ81Gu1p5iZJPekU HQKMvEx5+qpH41ManrEylmFpPc0CCTEi6t/DYgYteYMaWKDjZtZWyWZ8xr69Guk6NLMg mNqhrTr6G37eoIcXdb9XVKDELlpOOkW3Da3Eh9NoxeQaMKEWYCq09BlswTBEFq+fDqnJ hpy+efSg18UIyWoBFwkTPLh2T/bU/MtEr8bsUQzr2OM7VrMDkYhb4NxXxRroLWy/z4yO 1a1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:message-id:date :content-id:mime-version:subject:cc:to:references:in-reply-to:from :organization:dkim-signature; bh=cjgEzJVzo2lJMUc77CuSCNztlH8vIEi00dABVngX7OE=; b=N0TqBeKGPfCix5zyOQbykha7vztSQKr2TULhT0UCZFCoFYGCmI8dz1idjy88LGIZXt VPj0Jy5K+PKgI30OhV2vYJD5bragpM2TmgKnVOzJj/fgm/rKcACy9kGk0GxJavmu0pCs rquo+UHQXF6cOXDKPj/8B4OrVNMcmZDWd97GOz/KAwemB61hZO1ZFwJr2KIwv0iaTIo8 KScfXOEGyFuxBW81LEuYsGoS8mSmYV9akst2/0/y9zSMA0mDcsK61CNxmDj1kAIm8DFp Qza0hFnpQWwoyrS/aFsgjIut3cFUNAQzOSV+qsTj0Y8LLra1MuFx482J7mu3NsQnHajh ZXYg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=e4fwxynf; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o22si3603510ejm.429.2019.10.31.07.59.04; Thu, 31 Oct 2019 07:59:28 -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=@redhat.com header.s=mimecast20190719 header.b=e4fwxynf; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728135AbfJaO6D (ORCPT + 99 others); Thu, 31 Oct 2019 10:58:03 -0400 Received: from us-smtp-delivery-1.mimecast.com ([205.139.110.120]:27416 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728066AbfJaO6D (ORCPT ); Thu, 31 Oct 2019 10:58:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1572533880; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=cjgEzJVzo2lJMUc77CuSCNztlH8vIEi00dABVngX7OE=; b=e4fwxynfN873ScbRWNY4kSCMFyB4tGHkp5i+shBPRx4TjNbYt7BGodHzmrZap7CiT8PL/A eGGl1Je386gfzMmRxfOeh2ZZCgd1C6RmobgC9pqGaLk2MM9zv5PhV8/Wr+gMynRCGSuFqw tNDdOHs184es5DZfkOCAT7jPAd1h3mU= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-216-_BdLQb6yOlu3p54wnvo9Pg-1; Thu, 31 Oct 2019 10:57:56 -0400 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 92BE11800D6B; Thu, 31 Oct 2019 14:57:54 +0000 (UTC) Received: from warthog.procyon.org.uk (ovpn-121-40.rdu2.redhat.com [10.10.121.40]) by smtp.corp.redhat.com (Postfix) with ESMTP id E40665D6D6; Thu, 31 Oct 2019 14:57:51 +0000 (UTC) Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 From: David Howells In-Reply-To: References: <157186182463.3995.13922458878706311997.stgit@warthog.procyon.org.uk> <157186186167.3995.7568100174393739543.stgit@warthog.procyon.org.uk> To: Linus Torvalds Cc: dhowells@redhat.com, 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] MIME-Version: 1.0 Content-ID: <24074.1572533871.1@warthog.procyon.org.uk> Date: Thu, 31 Oct 2019 14:57:51 +0000 Message-ID: <24075.1572533871@warthog.procyon.org.uk> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-MC-Unique: _BdLQb6yOlu3p54wnvo9Pg-1 X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Linus Torvalds wrote: > It's shorter and more obvious to just write >=20 > pipe->head =3D head; >=20 > than it is to write >=20 > pipe_commit_write(pipe, head); But easier to find the latter. But whatever. David