Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp226684ybe; Mon, 2 Sep 2019 00:06:00 -0700 (PDT) X-Google-Smtp-Source: APXvYqxbFUvuMhAWngYoUuHrPCaGWIDLpuG4ChNaPNLfnDC+vlmne3FbzXHw447at+Z4FTS8Gb34 X-Received: by 2002:a63:4f1f:: with SMTP id d31mr2002231pgb.265.1567407960743; Mon, 02 Sep 2019 00:06:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567407960; cv=none; d=google.com; s=arc-20160816; b=b2VNZY2tv0HkWE8nN318rnI9y4IxNbyrDrtEH84zihaNK9cY9X6AzzOLTechbwkNu0 Q9Yr5UI+4XepiOi8vaFtGcwXARtMjYjFRJLC9N4axu9xIuJ3W1euG4v3amEPnEpM5Zb8 FAr26/Ax6i+WTWSOFU0LYKDP0ME9XJSyCOuBw/WiKmP0pc5rMcKu7T1sEDcG+qscVzbl EHhsF+TbhUse3hFzFxEWB1hW1Z/82RCEGV8U3xNzLcxPzi04UAvIIOYqrSNK+a49q5/2 2Etw1euzP6RzbYsz9Yz8HFv4XJBhqeIVAwqq/OZPzU11YUpj/1z5NckDlsn/mSapIcFF ZGdw== 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:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=gQTLlnjxfU5wtu5rW3AqaO/cAFjAnpJ6TaimExqVlFA=; b=X+6WodqmsS+ACQZ/uI6F8IzImFXhtJR1R4BDr7s71oWV0I+hr/Y8hBpVbICPpM1Yyl PSRtwXtvnHHnTiRlDFbA1GWOIO1zfgiZYTvzwiLdxZ/3kVlHg2RUO6nuYnG7kOLKqyuM twYul9+PHSDKQCjtgWfJSfe0Ynv/CBJ6F2+I5ElXAQ8mMiILAqYJ0Uxn7+qh4QE1EOr+ a1dh8uNNF27+j+C/ZjGoPMHpelvD1zYMjaDAnZKZrO2IHNLt5r4rIA3ob5SbVodqy2pO yXgj8uR5otQjVXWef1FlMwtA36UYEdXvXRNgltrmYMJGzF9WGWq3KPwgyI/8GeA2xB3D FrYw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kolabnow.com header.s=dkim20160331 header.b=VCF2ypNo; 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 b93si11203715plb.11.2019.09.02.00.05.45; Mon, 02 Sep 2019 00:06:00 -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=@kolabnow.com header.s=dkim20160331 header.b=VCF2ypNo; 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 S1729581AbfIBHBe (ORCPT + 99 others); Mon, 2 Sep 2019 03:01:34 -0400 Received: from mx.kolabnow.com ([95.128.36.42]:51738 "EHLO mx.kolabnow.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729476AbfIBHBe (ORCPT ); Mon, 2 Sep 2019 03:01:34 -0400 Received: from localhost (unknown [127.0.0.1]) by ext-mx-out003.mykolab.com (Postfix) with ESMTP id 62EDC403F1; Mon, 2 Sep 2019 09:01:31 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kolabnow.com; h= content-type:content-type:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:date:subject:subject :from:from:received:received:received; s=dkim20160331; t= 1567407688; x=1569222089; bh=gQTLlnjxfU5wtu5rW3AqaO/cAFjAnpJ6Tai mExqVlFA=; b=VCF2ypNoGc6gj2VcDTY24Hgpz+lWZfLUIwGuDVaTH2dk8CjuYdy PqP027/8lXWoQebo018ZCqKWLFF4wmd1BdeVfKKtYesRPuH8sCamcr2I+uO7Ysc6 M8VPVcCkPDPusHFVwrk7Kj1RmBJzsyW6XI7EFreglZTbrWRJ2x02YP5HnSHBhHqU PutOUzRcRy5OOLxh8UGRrwh+4JgzoO+hSg/hqchg09deRUYPMvVe28GEpFGJaffG JALreoIdoPGxjoNKYkHxypBKyKa4+ffAf3EGHEz4MO4/2dYIkyyN/dD6gsf7MjcK h7E7OptnHnpT1iM0ppnaasbLl/GIgq6j7RNuErVznwJo57uJTgm0IMIvS7jvPd+G c8TVtDXHNisDazOBHcIw2cfVyRPlJeUhuHrw+4B89Lht3g4HQmFov8O6ozqSgJ+8 1pWH+fg6aCs5siLh8AlUojKM0k3tlWdtD4XT6bnq0rj+Mw7RnUW8SS/mNRnOPCKw NXINYsYLo0S7FWX93skgQxa3IHsA5KPRuadPByqGPJKmQfaP6xESJp25hmyznCML IB/SC1gm3RFk+lop2kjIUqLWgaOqI0e+KvZH7P0M5LN8231ZPoJhAkWL69985gmk iIpMAWbEt16S87XUWeBP6MFIJwFJRzU21nmJUVg4WnyQaHwrIIG5Zz6M= X-Virus-Scanned: amavisd-new at mykolab.com X-Spam-Flag: NO X-Spam-Score: -1.9 X-Spam-Level: X-Spam-Status: No, score=-1.9 tagged_above=-10 required=5 tests=[BAYES_00=-1.9] autolearn=ham autolearn_force=no Received: from mx.kolabnow.com ([127.0.0.1]) by localhost (ext-mx-out003.mykolab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MvEp27HjTeVe; Mon, 2 Sep 2019 09:01:28 +0200 (CEST) Received: from int-mx002.mykolab.com (unknown [10.9.13.2]) by ext-mx-out003.mykolab.com (Postfix) with ESMTPS id 96D4E403C8; Mon, 2 Sep 2019 09:01:28 +0200 (CEST) Received: from ext-subm002.mykolab.com (unknown [10.9.6.2]) by int-mx002.mykolab.com (Postfix) with ESMTPS id 1B4F43964; Mon, 2 Sep 2019 09:01:28 +0200 (CEST) From: Federico Vaga To: Jonathan Corbet Cc: 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 Date: Mon, 02 Sep 2019 09:01:26 +0200 Message-ID: <2216492.xyESGPMPG3@pcbe13614> In-Reply-To: <20190831084344.6fd7c039@lwn.net> References: <20190831134116.25417-1-federico.vaga@vaga.pv.it> <20190831084344.6fd7c039@lwn.net> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Saturday, August 31, 2019 4:43:44 PM CEST Jonathan Corbet wrote: > On Sat, 31 Aug 2019 15:41:16 +0200 > > Federico Vaga wrote: > > several CPU's and you want to use spinlocks you can potentially use > > > > -cheaper versions of the spinlocks. IFF you know that the spinlocks are > > +cheaper versions of the spinlocks. If you know that the spinlocks are > > > > never used in interrupt handlers, you can use the non-irq versions:: > I suspect that was not actually a typo; "iff" is a way for the > mathematically inclined to say "if and only if". > > jon I learned something new today :) 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. -- Federico Vaga