Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.1 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 95A42C43387 for ; Tue, 8 Jan 2019 16:22:25 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3B9A82087F for ; Tue, 8 Jan 2019 16:22:25 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=hammerspace.com header.i=@hammerspace.com header.b="QievRCWj" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729416AbfAHQWY (ORCPT ); Tue, 8 Jan 2019 11:22:24 -0500 Received: from mail-eopbgr820110.outbound.protection.outlook.com ([40.107.82.110]:7807 "EHLO NAM01-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728483AbfAHQWX (ORCPT ); Tue, 8 Jan 2019 11:22:23 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hammerspace.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=r0p91gVxFpEv6PySC8LNHHTJvhj5DGpZ7IwAR9oicJE=; b=QievRCWjUU2eQ+g7ae0S7+n3wNNd+0Rd5Ezo+wId8LfpL2LJshmge7mjfSqSsE7worammrQXt47k9uWZS5sxM8dfpzqmCIep/+KULiz6K33Ibe/UMYAQQX/LmI7Z1nVHecW07gKps/bEunY00LAW8Ud4HjA3bHjnVMgbPxJgaLo= Received: from SN6PR13MB2494.namprd13.prod.outlook.com (52.135.95.148) by SN6PR13MB2477.namprd13.prod.outlook.com (52.135.95.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1516.13; Tue, 8 Jan 2019 16:21:40 +0000 Received: from SN6PR13MB2494.namprd13.prod.outlook.com ([fe80::7dd2:1e4f:2de1:eb27]) by SN6PR13MB2494.namprd13.prod.outlook.com ([fe80::7dd2:1e4f:2de1:eb27%4]) with mapi id 15.20.1516.010; Tue, 8 Jan 2019 16:21:40 +0000 From: Trond Myklebust To: "bfields@fieldses.org" CC: "linux-nfs@vger.kernel.org" Subject: Re: [PATCH] SUNRPC: Don't allow compiler optimisation of svc_xprt_release_slot() Thread-Topic: [PATCH] SUNRPC: Don't allow compiler optimisation of svc_xprt_release_slot() Thread-Index: AQHUo28wQYHfdyrJOkiXFnTxUjWqjaWeJS6AgAAPUoCAAS1wAIAE+B8AgAAJf4CAARuKgIAAFneA Date: Tue, 8 Jan 2019 16:21:40 +0000 Message-ID: <4077991d3d3acee4c37c7c8c6dc2b76930c9584e.camel@hammerspace.com> References: <20190103141712.24381-1-trond.myklebust@hammerspace.com> <20190103224529.GA6907@fieldses.org> <20190104173912.GC11787@fieldses.org> <20190107213218.GD7753@fieldses.org> <20190108150107.GA15921@fieldses.org> In-Reply-To: <20190108150107.GA15921@fieldses.org> Accept-Language: en-US, en-GB Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [68.40.189.247] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;SN6PR13MB2477;6:L7in+l4M/zT7td7DB6Kqyy+1WKz4K7XSBGX9s/khtXAs3mrNd8QZX0HoURJTBq4b8xElSGDC46b0G7SKUbYYLz34dsH5MqVuyZw2gP8r24itPTWqFKgQCtf3rgCFgPNl+dO8XN2SSXPczdXTQKFzwfJdwXVdaxqSBC2+Vf9kNp21o3hkpPf5MDJrVG30UKXcSECVzr/TQrdWOHWrgN1wQOCKkRuJVUCkGdHPlxfhH+SxGrx3OOdv0gXYQGLeH9C/fajCx7mkoofHJKeHQ//hzO01ObTrCjCdAmaRJgFgCj+gyMuLBpZma+o3h5A3/JBFzd+IFy/p5Y8gHObFQXOKCncTg4mv8WnIYCXcspJa4sqrD/XVtl4ZFg9YoCmC9oEzubHXE1fLua35zspm+yo6S0/zYzvVZcScHXE9z4mRoRdCCnf6J1I1NMQqFtbQuFBtDKNj+9DqLBCzE8O8ufjCUQ==;5:Q9EOB5vXUZvjzN61C3cybi8TVh2dOVkjFalmJ6nljMy9lIMcr/4aXP/21mUoiqL2I5ZlPIkd5eUI7CmGwJrhyjWdKfTj+Z8LqlWa389x3gidk2Q5V5cFxoqRXsypvvr5y42yWsgEK5gD6bwhQzYRaMIFxTDv/QjAEzYGVcdx4yCZQJgVTv1U9biQ8wY0HmG2RKqFfW5euyMFMW3DvOpo9w==;7:F9IUEFqI62srPvwRpTx3ZJKJ82cd+myQNJ1j5AATc8xwQfFdtKCl1Rsg++Ab3S2o+innvOEHy+CqC6iriV18uaLc7xL0yF4VCm1l0QNcm/LtvOcGt1tod5Q9si6juaCWCYiYjbcbqPtHfMLMLqed8Q== x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-correlation-id: 7bf98b83-cf87-46bf-30c6-08d675855eff x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(5600109)(711020)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7153060)(7193020);SRVR:SN6PR13MB2477; x-ms-traffictypediagnostic: SN6PR13MB2477: x-microsoft-antispam-prvs: x-forefront-prvs: 0911D5CE78 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(346002)(396003)(366004)(376002)(136003)(39840400004)(199004)(189003)(66066001)(26005)(186003)(8936002)(6116002)(102836004)(6346003)(3846002)(6512007)(99286004)(6506007)(68736007)(2501003)(8676002)(7736002)(305945005)(2351001)(105586002)(106356001)(118296001)(14454004)(1730700003)(81166006)(81156014)(486006)(11346002)(2616005)(476003)(446003)(478600001)(6486002)(36756003)(229853002)(6436002)(5640700003)(25786009)(6916009)(6246003)(5660300001)(53936002)(97736004)(86362001)(4326008)(14444005)(256004)(71200400001)(76176011)(71190400001)(93886005)(2906002)(316002);DIR:OUT;SFP:1102;SCL:1;SRVR:SN6PR13MB2477;H:SN6PR13MB2494.namprd13.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: hammerspace.com does not designate permitted sender hosts) authentication-results: spf=none (sender IP is ) smtp.mailfrom=trondmy@hammerspace.com; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: DnC4h8Hbb8FVAGyGMJDEkD4Uu/oNk4ABxpoU1CwJDLBotXOYbIa9viN2ZaQQHJ0Ds8qMZpPLAr6SfJ4Gcn11MDVcD+nFYut+vv4zH3x9BekeVzvG2RjVfpRg7XcYl3O33gZyCFvupDq06lU/gOivpAiB1WpHHWfUR1ysZBfx5ZRxh791FnrzqroFux1oTG396My8CG2ObCZInemfY1k99+NqSiBjvuCcLQyl4xuF5SiwhO6bH2iOD3qiXGnJiBKx19PqMaEImV8fvKt8QqAOCkoE7PktBygL7KSiDIgsF3RJk2mj3EPEu76GxCTR9t51 spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: <09D7142FF68A4C4EAEC2EC286C860D26@namprd13.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: hammerspace.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7bf98b83-cf87-46bf-30c6-08d675855eff X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Jan 2019 16:21:40.3135 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 0d4fed5c-3a70-46fe-9430-ece41741f59e X-MS-Exchange-Transport-CrossTenantHeadersStamped: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