Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp1352637ybe; Mon, 2 Sep 2019 19:39:48 -0700 (PDT) X-Google-Smtp-Source: APXvYqwOcOz8haChBvyzUE2/N3AMonP049VTVW+GjvDQiRCBFbx9CVnT7GZDzY7mCRVr6NVfn7Ez X-Received: by 2002:a63:5048:: with SMTP id q8mr27462767pgl.446.1567478387845; Mon, 02 Sep 2019 19:39:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567478387; cv=none; d=google.com; s=arc-20160816; b=Gt1FPL5voUNiIQ2+FtOvip2OcHn5jlboB9UjYgWV6G6v9Hsm6aOltuKoN4hw8sGqMG RNr/qKFKaeTM6dk7FG+llWa0/CWr4ETZUm4fpbZR/fS9W98met1IN1AO2td7D5EFvLFj 9PeGte6Q7OJ7MX9vR+FDPTGdV68kuV/x7nWK3GoFln1QjxkkbYptACq/3Xav8GuRFLQY VaET5xUQZO1osL5qf3F0tB9AdXOnLrOnGf0ErTJpK52b5AamFQjFviCnzi4f4Zr7Y1py ERD43D2ifhyQiT/wSrXuzGjgUZxMY1LjOreAgy0k2ypK1oJBzFgAWaH2CuS+gJkVMkYc ojxw== 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=//Ea53kN5rE79WQGkQIGYNCPvD/egheDqPPhkUd4fxw=; b=Dws6W7Auj6A9Mh+VDAY3nGdajSxYIAIWf14CSo8fANR0k/qbwqTJD5ZvJixjNq0xjg cDfiOgF9UChbQHqYbR52k9LnCiHfNRDIheCuhoUeaU0bAIwTsuyXM4MuJdrRKCjYOzd/ 8YbvXeDbw06tOErEe6KG6tKSWMuWU2bYORHmIPSbFSVeinMjbtxPiomkwbmR1ha1gpNk EJf1hICljmQiSRSwnrClNi/FaFRvzm4FTdtWckBVKmTfd4ScdkBnstfRXIUULE0giq17 PRUegBuYzwN7iZptPOZs5iH0Yyl+fvuO7d4+KpvAyAgRyRiJtHmTy7Puhm0UptJgOb2A /F6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=NYROjrDD; 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 u185si12697247pgd.561.2019.09.02.19.39.31; Mon, 02 Sep 2019 19:39:47 -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=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=NYROjrDD; 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 S1726962AbfICCia (ORCPT + 99 others); Mon, 2 Sep 2019 22:38:30 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:47932 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725981AbfICCi3 (ORCPT ); Mon, 2 Sep 2019 22:38:29 -0400 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=//Ea53kN5rE79WQGkQIGYNCPvD/egheDqPPhkUd4fxw=; b=NYROjrDDbZMFrJbuXg65KL4yE XY6uZgPHqEvyrXNqvhpZEMzIgtRuXkEsAHPihUjGXz6YkRmJEmSArhNQN3VbtoDvVAXfpAw+LCIl2 nl7lVpnSG/OWG7j26uNhfRw2piBo5OG5eo68Siz/A6Jdafzi1CtFb1ed1SNp6F7CWAejwXkHEvONy eVQ/JcIql9XqPGnhYH8KM4ZuqhNojbLzWjdVJunbSEvjTsCrTm8sYaIZUbByUDjxTCglysouGtIJx KX5uLNWoJxj4RhDU2eICUZ8saSMP5quSugoHuKgtX6m3CANHd4Ddwx7LzRsAVG+OBL90x1ljUnD0V JQl5X+F+Q==; Received: from willy by bombadil.infradead.org with local (Exim 4.92 #3 (Red Hat Linux)) id 1i4yi6-0000V9-R1; Tue, 03 Sep 2019 02:38:22 +0000 Date: Mon, 2 Sep 2019 19:38:22 -0700 From: Matthew Wilcox To: Jonathan Corbet Cc: Federico Vaga , Ingo Molnar , Peter Zijlstra , Ingo Molnar , Will Deacon , linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org Subject: Re: [PATCH] doc:lock: remove reference to clever use of read-write lock Message-ID: <20190903023822.GB29434@bombadil.infradead.org> References: <20190831134116.25417-1-federico.vaga@vaga.pv.it> <2216492.xyESGPMPG3@pcbe13614> <20190902181010.GA35858@gmail.com> <4627860.yBeiQmOknq@harkonnen> <20190902142133.37e106af@lwn.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190902142133.37e106af@lwn.net> User-Agent: Mutt/1.11.4 (2019-03-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Sep 02, 2019 at 02:21:33PM -0600, Jonathan Corbet wrote: > On Mon, 02 Sep 2019 21:19:24 +0200 > Federico Vaga wrote: > > > > > I am not used to the mathematical English jargon. It make sense, but then > > > > I > > > > would replace it with "If and only if": for clarity. > > > > > > While it's used in a number of places and it's pretty common wording > > > overall in the literature, I agree that we should probably change this in > > > locking API user facing documentation. > > > > I would say not only in locking/. The argument is valid for the entire > > Documentation/. I wait for Jon's opinion before proceeding. > > I don't really have a problem with "iff"; it doesn't seem like *that* > obscure a term to me. But if you want spell it out, I guess I don't have > a problem with that. We can change it - iff you send a patch to do it :) $ git grep -iwc iff Documentation Documentation/admin-guide/cgroup-v1/blkio-controller.rst:1 Documentation/admin-guide/cgroup-v1/cgroups.rst:1 Documentation/admin-guide/cgroup-v1/freezer-subsystem.rst:2 Documentation/admin-guide/cgroup-v2.rst:1 Documentation/devicetree/bindings/media/st-rc.txt:2 Documentation/devicetree/bindings/net/ibm,emac.txt:5 Documentation/devicetree/bindings/pinctrl/pinctrl-st.txt:1 Documentation/driver-api/libata.rst:1 Documentation/features/scripts/features-refresh.sh:1 Documentation/filesystems/directory-locking:1 Documentation/i2c/i2c-topology:3 Documentation/ioctl/hdio.rst:1 Documentation/locking/spinlocks.rst:1 Documentation/locking/ww-mutex-design.rst:1 Documentation/scsi/scsi_eh.txt:2 Documentation/spi/spidev:2 Documentation/trace/ring-buffer-design.txt:1 Documentation/virt/kvm/api.txt:1 Documentation/virt/kvm/halt-polling.txt:1 (29 total) Of course that doesn't count any in kernel-doc.