Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp588163ybe; Thu, 5 Sep 2019 02:45:09 -0700 (PDT) X-Google-Smtp-Source: APXvYqxaTds+rbuftKk5k9BSdLDhpn2ZY2fHr60FPbnFtiwHQy0+aa8//JVpGUeC34z0dzii9Xcc X-Received: by 2002:a63:2784:: with SMTP id n126mr2273438pgn.92.1567676709495; Thu, 05 Sep 2019 02:45:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567676709; cv=none; d=google.com; s=arc-20160816; b=sZO3idO3mQnr+zsJFMJmn6lrKMVRfpSrueIFWkUdd7MBAKhSd6hotYRyUaLhMUha3f Nb2erjNEPGArphRmYVBe5kRLXDfGeg8lXWYL98u4W34cnMUUv9Klkys/G+W1txdXwkP2 5oFI19FIHEx/ZBa0Fb5bWVWOLUuNC89/VQmMW/UJCbQwiAxJ2IX41/NqIaiuZ1TF+YjQ 5pk5nbinHDR7yDeADG4Amwe/wUAyYY+rnuXNLfZU7gx9l6Ci8yqKHFkAC7mMDcEP3FmH K+SXbnGBQjUiEa0c4sYupQFtbCVvevz9D9YCEwJePW3RGmwHoU/PxBq6KHHf4ZJesv48 Sj+w== 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=4Z50Q95LKCLv+niIV0/5wFqe396UpDg1Zkb3D4r9NEA=; b=AE2PizI3zdk4if0IDcsSmLZMrCXs4BPPMDp15deLq3QaRqUz5toCVRI8aTbctH4ucC h8apTInUgiMourQpCgP6YC6AOGwzDIBx48LPV/Z2bUVtDRry/gb8D+IBeclgP6o2eoMI hlfdBUpimDaFYDPviJs8rJzko40feQTxBiNuM+Sq5xxDtZfF4ZSXwFEzi7i+HiXCrBiJ Z/IRrnnGmxZFgYIXAOmXQPa9oab8EUit7v8znTLPE46KAFs3Nx45xogvuaF2VjRrPa88 uvGfqrqYjb44GrX2tjNyYeQOOwd1vfzAZUcx1CWjF87C+Rp2WKceuKWlCgVeWD9nM0Ie 1tqQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kolabnow.com header.s=dkim20160331 header.b=jYd0dyQA; 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 d4si1445611plr.402.2019.09.05.02.44.53; Thu, 05 Sep 2019 02:45: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=@kolabnow.com header.s=dkim20160331 header.b=jYd0dyQA; 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 S1732422AbfIEIVV (ORCPT + 99 others); Thu, 5 Sep 2019 04:21:21 -0400 Received: from mx.kolabnow.com ([95.128.36.42]:27548 "EHLO mx.kolabnow.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731259AbfIEIVU (ORCPT ); Thu, 5 Sep 2019 04:21:20 -0400 Received: from localhost (unknown [127.0.0.1]) by ext-mx-out003.mykolab.com (Postfix) with ESMTP id BA39840D2F; Thu, 5 Sep 2019 10:21:18 +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= 1567671678; x=1569486079; bh=4Z50Q95LKCLv+niIV0/5wFqe396UpDg1Zkb 3D4r9NEA=; b=jYd0dyQAgqo6U3IFELUCjZ+bPOba6sveH6McsrhqmHTnxKrp7oZ QqdJpMwTgwuxpjiwPrws7YdMtsygpLWqqP5y8wPu3pkMykrV4UXTlaEh44iDUVxI z/uXQzOZxvjU1l/iw7/xC75qzg5TS9ti8OLdZ5a23CO62NmxxWANg22eJa57NvBX ngW9aPCxX0kBJm1URP95kJbGzfdpEdgI2OvVWWHBrIvuIA7uKn4cyWFBbGo0w3k9 bionnw6bi0G4wrjuyWZfLC/1pCecNKeBQmjB2aLwTJ7oRiW0XObOx9JW4ttYeOvN 1IUbFFpzGFsI/Ov/DeeMsRX+hH8vyTQEYVAQiGSMVRFSlco0gtfLSulrlDNCZbs6 2vr+RkHoucBPTJNBq+epdArmODOMwi7fRvQePQb4EmXPE1SQfOT6TxSPvZHQYVs+ eZZXvKche96IIIBBTMwC8bwa+z6D7kEVShhcgG/fsW4F7aFLITeejLNnrzb9LyFk W4n4mnulGLSik5UZhG1QMGP7bUWpcH6phIw/UGxHNOWA2qs/qcka4MtV2GLg38pX 90J07dRYBPHg6ICzz6jTzmjbogQfhKf24GI+o/GWIq3WGrLDmfsMw2iMa34pzCv9 Eca8cZ9gCHloRbZwCcfEL/RPtt3fuFElvLgPNFwEtKxcF7Q5Ob9X/jjU= 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 xVVOF3E9Fb-H; Thu, 5 Sep 2019 10:21:18 +0200 (CEST) Received: from int-mx003.mykolab.com (unknown [10.9.13.3]) by ext-mx-out003.mykolab.com (Postfix) with ESMTPS id 3DC6F40D26; Thu, 5 Sep 2019 10:21:18 +0200 (CEST) Received: from ext-subm002.mykolab.com (unknown [10.9.6.2]) by int-mx003.mykolab.com (Postfix) with ESMTPS id C173951F9; Thu, 5 Sep 2019 10:21:17 +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: Thu, 05 Sep 2019 10:21:16 +0200 Message-ID: <261280816.8eN5xxrYeQ@harkonnen> 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". Unfortunately this thread focused on this little thing ^_^' What about the patch itself? Should I send a new one without this fix or you will apply it as it is?