Return-Path: Received: from mail-by2nam01on0121.outbound.protection.outlook.com ([104.47.34.121]:59930 "EHLO NAM01-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727701AbeJEUfI (ORCPT ); Fri, 5 Oct 2018 16:35:08 -0400 From: Trond Myklebust To: "arnd@arndb.de" CC: "linux-kernel@vger.kernel.org" , "jlayton@kernel.org" , "bfields@fieldses.org" , "linux-nfs@vger.kernel.org" , "james@ettle.org.uk" , "anna.schumaker@netapp.com" , "netdev@vger.kernel.org" , "davem@davemloft.net" , "stephen@networkplumber.org" Subject: Re: [PATCH] SUNRPC: use cmpxchg64() in gss_seq_send64_fetch_and_inc() Date: Fri, 5 Oct 2018 13:36:19 +0000 Message-ID: <7c783e6ecca13af5ae603b75689a377e7a8a4855.camel@hammerspace.com> References: <20181002205809.2300654-1-arnd@arndb.de> In-Reply-To: <20181002205809.2300654-1-arnd@arndb.de> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Sender: linux-nfs-owner@vger.kernel.org List-ID: T24gVHVlLCAyMDE4LTEwLTAyIGF0IDIyOjU3ICswMjAwLCBBcm5kIEJlcmdtYW5uIHdyb3RlOg0K PiBUaGUgbmV3bHkgaW50cm9kdWNlZCBnc3Nfc2VxX3NlbmQ2NF9mZXRjaF9hbmRfaW5jKCkgZmFp bHMgdG8gYnVpbGQgb24NCj4gMzItYml0IGFyY2hpdGVjdHVyZXM6DQo+IA0KPiBuZXQvc3VucnBj L2F1dGhfZ3NzL2dzc19rcmI1X3NlYWwuYzoxNDQ6MTQ6IG5vdGU6IGluIGV4cGFuc2lvbiBvZg0K PiBtYWNybyAnY21weGNoZycNCj4gICAgc2VxX3NlbmQgPSBjbXB4Y2hnKCZjdHgtPnNlcV9zZW5k NjQsIG9sZCwgb2xkICsgMSk7DQo+ICAgICAgICAgICAgICAgXn5+fn5+fg0KPiBhcmNoL3g4Ni9p bmNsdWRlL2FzbS9jbXB4Y2hnLmg6M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