Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1447677pxb; Fri, 20 Nov 2020 09:40:02 -0800 (PST) X-Google-Smtp-Source: ABdhPJx2HgWdUoxSJCJ/MvFVtCB4AnEERLBDU+JoNvxrQry2hC4DRzkOiIYUIAmQ3v8mZv9VilVY X-Received: by 2002:a17:906:6d8e:: with SMTP id h14mr10573034ejt.522.1605894001805; Fri, 20 Nov 2020 09:40:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605894001; cv=none; d=google.com; s=arc-20160816; b=UTj5G5wsEuM/gLxLW/8jNLLtMIz+Reuus/yn1gwdFAhqFt3gcSL3iIZgqQpoeBacm7 7vH+AxfuVMBdPCjfyykM214dzZKIJLpO0zSsKv1k7jjbAsVZVjHckTycX1Nl715mxzaH BgzfYtUOWnCG8DPh0YdzVM2VfYJZ0sFVfqxm62etNnXz+SgZxCmf9/Er82xdA0k1sGLE NFNNRWY4g68iC4S98uKAbEJ9Sj29UhnifFLXd3CTD1YG0bMTXKmp+CPP2YqAUU3kz2HZ A1Xr7UGA17hJjje1x8twmQPxbf4NHDRk11rf6JvagoOWNd2XkblcP4o4LjwLOTSa68Q0 zD3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :mime-version:accept-language:in-reply-to:references:message-id:date :thread-index:thread-topic:subject:cc:to:from; bh=A7WAcYaxJJgmD+1sq0Vrwy7ggKL+tfGE9dNGKVh7QwQ=; b=ofy01BBz4OugJ42iaNche9EU4oJjyuJkLUXBvPc9JEQMjq2A7XwdJagGMMG0XMuJyy ON1q/+gvanfJNkwW1BQ7K/K+r4NFR99v2JxPhcDLp4KWcBRPEz+jhjj6tnzImANjNWn3 USMvNj15e04OVEAGt16rtVLkedoqXREw0QOnkfX24XLrD2IzJm5egVOnLglCrkAr7cR7 V/+E5nQkCxs8sNjXtkYzaF4ezl3+tq45Bq0X4kQnMV1dXQfBpUeN5CQrYzibd+0Y+SC9 X/6rWaItFrep9cCR3/giLlgkvW74bKHyE3lu4GIcqaFRbOTaCrFwrCKuqcp+S89dZ5Mj FzyA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=aculab.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g9si2320683edn.361.2020.11.20.09.39.37; Fri, 20 Nov 2020 09:40:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=aculab.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728769AbgKTRhf (ORCPT + 99 others); Fri, 20 Nov 2020 12:37:35 -0500 Received: from eu-smtp-delivery-151.mimecast.com ([185.58.86.151]:57497 "EHLO eu-smtp-delivery-151.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727880AbgKTRhf (ORCPT ); Fri, 20 Nov 2020 12:37:35 -0500 Received: from AcuMS.aculab.com (156.67.243.126 [156.67.243.126]) (Using TLS) by relay.mimecast.com with ESMTP id uk-mta-253-8k7sJ26IO2eyg2tdgB7Pvg-1; Fri, 20 Nov 2020 17:37:31 +0000 X-MC-Unique: 8k7sJ26IO2eyg2tdgB7Pvg-1 Received: from AcuMS.Aculab.com (fd9f:af1c:a25b:0:43c:695e:880f:8750) by AcuMS.aculab.com (fd9f:af1c:a25b:0:43c:695e:880f:8750) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Fri, 20 Nov 2020 17:37:30 +0000 Received: from AcuMS.Aculab.com ([fe80::43c:695e:880f:8750]) by AcuMS.aculab.com ([fe80::43c:695e:880f:8750%12]) with mapi id 15.00.1347.000; Fri, 20 Nov 2020 17:37:30 +0000 From: David Laight To: 'Waiman Long' , Davidlohr Bueso CC: Peter Zijlstra , Ingo Molnar , Will Deacon , "linux-kernel@vger.kernel.org" , Phil Auld Subject: RE: [RFC PATCH 5/5] locking/rwsem: Remove reader optimistic spinning Thread-Topic: [RFC PATCH 5/5] locking/rwsem: Remove reader optimistic spinning Thread-Index: AQHWvqN0O6hwIV/IOUmlkB4qEdd62KnQ/N3QgABEQACAAAOhsA== Date: Fri, 20 Nov 2020 17:37:30 +0000 Message-ID: <8e25d29ffee64b8ab377fd5ebf1c6bb2@AcuMS.aculab.com> References: <20201118030429.23017-1-longman@redhat.com> <20201118030429.23017-6-longman@redhat.com> <20201118053556.3fmmtat7upv6dtvd@linux-p48b.lan> <5fe76531782f4a8492b341d5f381147b@AcuMS.aculab.com> <68d07068-ff31-26b5-f90d-7ea8b4ee2389@redhat.com> In-Reply-To: <68d07068-ff31-26b5-f90d-7ea8b4ee2389@redhat.com> Accept-Language: en-GB, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.202.205.107] MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=C51A453 smtp.mailfrom=david.laight@aculab.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: aculab.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org RnJvbTogV2FpbWFuIExvbmcNCj4gU2VudDogMjAgTm92ZW1iZXIgMjAyMCAxNzowNA0KPiANCj4g T24gMTEvMjAvMjAgODoxMSBBTSwgRGF2aWQgTGFpZ2h0IHdyb3RlOg0KPiA+IEZyb206IFdhaW1h biBMb25nDQo+ID4+IFNlb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