Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp413502pxb; Thu, 21 Jan 2021 10:00:34 -0800 (PST) X-Google-Smtp-Source: ABdhPJzbzt64xDj3Pp1wgwvEnr1r56v3A9Bmi4ZfJKCnb61I3zsDRAL3xgLZB0JG2ltTCQEkIxlQ X-Received: by 2002:a17:906:1c42:: with SMTP id l2mr459545ejg.390.1611252034297; Thu, 21 Jan 2021 10:00:34 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1611252034; cv=pass; d=google.com; s=arc-20160816; b=SbUpnrR9E3PgtH51GfM665okXzVn2e0MVDFojAk5vydALbS3G5aJhJr9FPiLOHJ+Jf zpSr5+zBZ54+gxwulhESRZU1WJVT5JIh86o1yoU1bpjW0JfTLTcqEN98czrO050Dp736 v23R6TSlwkAl4lEMgcmn2k90CLCyMVfOEzlNKB7xLnavuV0Nu/KkD6L7Wsl8Vx7pY9d1 dUX09NytoaLtbrTEJ2hJQp8ojXa7aBgBYXjj56FRPb4dhBOjOX0fXKEcGq3euUxwqFoF 8LIE7bUjM2cKzcMKUoDXGhRh+iXybKjF7fGsTGEpUuDlIC0WCN1pyQT43d770h0r0MEP N4sg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature; bh=9rvBcutis5r81i9IjM4vTx1jOl+q+tIp7zXF1P/xMrc=; b=geqDCQPVRjRuVd6VVxm/faoWJjt2HDoHrEU/FqEskyrkVKnDDp2zaQV4/4tRV2NGzm UMerd58w+SsYgQMj24cQZeihN65wqMfQ4g/lFNsUK3yDcHu4tlnCnnYnMNOtlG5FqYoq WbX5ILql/rxaKrzKKMhwy/eYWUkelbVysWx9XcXzzJWR9n0i3yocBf8oJwHhnMMLQTPO tKGumivEWXUdpi0Ymwbgy6XS4Zd3CZJmxY2vAqDhGnNzZE49cZdfLsfnRiqW8AAX1cKw vEWA9VKxASYRFOVPUdz89dokXlet8SfoUUR1FqhTR73XRaB5ae7RcwxhAFNfFwTccYud 0b/w== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@hammerspace.com header.s=selector2 header.b=fx1YvWXS; arc=pass (i=1 spf=pass spfdomain=hammerspace.com dkim=pass dkdomain=hammerspace.com dmarc=pass fromdomain=hammerspace.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=pass (p=NONE sp=NONE dis=NONE) header.from=hammerspace.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gj13si1987335ejb.41.2021.01.21.10.00.09; Thu, 21 Jan 2021 10:00:34 -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; dkim=pass header.i=@hammerspace.com header.s=selector2 header.b=fx1YvWXS; arc=pass (i=1 spf=pass spfdomain=hammerspace.com dkim=pass dkdomain=hammerspace.com dmarc=pass fromdomain=hammerspace.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=pass (p=NONE sp=NONE dis=NONE) header.from=hammerspace.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389074AbhAUR7X (ORCPT + 99 others); Thu, 21 Jan 2021 12:59:23 -0500 Received: from mail-dm6nam08on2117.outbound.protection.outlook.com ([40.107.102.117]:4320 "EHLO NAM04-DM6-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2389327AbhAUR5U (ORCPT ); Thu, 21 Jan 2021 12:57:20 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Pyh7Ci7BB0/wc1SijzzIQoWyNbNvkAui/JSPMM4/eulGn38nTQy10/zwowSPD1JIzaQzFt0wpGCmDhtApLoLZFRVBpRUCJ62vE6GKfVDYBXvO4ZLhFMk3jZlDgohEtxAbCxpBE1uI5vHN595NnnOuAvRm1c+u9ZpYCKHX3d0KVz9oBPgHZJvgHn0lBwNxi5PYQTYvr+bSkdsz5NSM1x3gSj10A5JmEF5W8Ur0ZVvmUhy1EbHDqDIU20/UVDBEHxaO0tdR/ssXPaLRyF2zQXzNwLk5pw3Gt3kOxPiYze1jxHjEiAieHarMNPy5kb2TP2ww1G13vAm1tvFBIUXrJlCUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=9rvBcutis5r81i9IjM4vTx1jOl+q+tIp7zXF1P/xMrc=; b=EZT+LneREUSPA/o6QLjevpTC2Qv0albR5GtDQtiTxXM8dM6Xnd1HtsBjhKMiIDHG1SB7gs9qbusfSS14UU84kKnZpX27SQmtU9EbjSssMd2qtFZcS2k17rUiBgGql2TGYaKHhayaXuiHyNpKIxVx8WpzpKzDDjKBxOgp8PJJwe47sQMDGQeW8+8LtQ2cKUHA5+xPkgy3gmfEgElcgfoSP+1ICk2XD1YoYNdw+XMJI+96aM/G4Kxe7z8Yd0401MhGF+O2fixNu9T8vwruopgBilsc8mgU/M8FSIB9GuIW9iGsr64p5Q/AG8qXEBfqmNPuoXpYQ9bZdBFyZiNIqIZIHw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=hammerspace.com; dmarc=pass action=none header.from=hammerspace.com; dkim=pass header.d=hammerspace.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hammerspace.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=9rvBcutis5r81i9IjM4vTx1jOl+q+tIp7zXF1P/xMrc=; b=fx1YvWXS+zv80hjmbfw9VNnYCunau7EQ+I1U3ELYTFZX/gBeZuEguzTOimIRX9h4FUykYhjzz8SCm5Oci7SLx4njqWihnzX/0VQS2H0XweFh+l4mBqCRcVjnVFILA19Iu+meEiMJun4eGuv9DuDzMc7oVliJ9SMyv3foqixALfs= Received: from (2603:10b6:610:21::29) by CH2PR13MB3814.namprd13.prod.outlook.com (2603:10b6:610:9a::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3805.5; Thu, 21 Jan 2021 17:56:27 +0000 Received: from CH2PR13MB3525.namprd13.prod.outlook.com ([fe80::f453:2dd2:675:d063]) by CH2PR13MB3525.namprd13.prod.outlook.com ([fe80::f453:2dd2:675:d063%3]) with mapi id 15.20.3805.006; Thu, 21 Jan 2021 17:56:27 +0000 From: Trond Myklebust To: "skhan@linuxfoundation.org" , "Anna.Schumaker@netapp.com" CC: "bfields@fieldses.org" , "linux-nfs@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "davem@davemloft.net" , "kuba@kernel.org" , "chuck.lever@oracle.com" , "netdev@vger.kernel.org" Subject: Re: rpc_xprt_debugfs_register() - atomic_inc_return() usage Thread-Topic: rpc_xprt_debugfs_register() - atomic_inc_return() usage Thread-Index: AQHW74dXBrq8kHbX/kyLzHgl6JHsMKoyU6CA Date: Thu, 21 Jan 2021 17:56:26 +0000 Message-ID: <020aee05c808b3725db5679967406a918840f86f.camel@hammerspace.com> References: <06c8f6ff-f821-e909-d40c-9de98657729f@linuxfoundation.org> In-Reply-To: <06c8f6ff-f821-e909-d40c-9de98657729f@linuxfoundation.org> Accept-Language: en-US, en-GB Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: linuxfoundation.org; dkim=none (message not signed) header.d=none;linuxfoundation.org; dmarc=none action=none header.from=hammerspace.com; x-originating-ip: [50.124.246.251] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 58c02fde-ef5e-4bab-9402-08d8be35dfe3 x-ms-traffictypediagnostic: CH2PR13MB3814: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8882; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: eM8E5jHpvbg9KsdOMQxyl5t//KcL7v6OeixoWEKUA9V4atmvbvsOvP8WxsUJltZ7t0nZteb4QPiMnMEoZMdwpMbLaadAKCtZk4ZYDc9HwUZN4Lpo41UJ46p/vhaL6HQjPBA8qWd2gUhDSPaWUeJwAewO3h1goxw41PsF5ue99fR609qKdIDcplUuHx/ASAGx1CVij09Kqn9L45MtFki8ZAOLwqhhxpt+s+6OjHpCZhRGwEt050YHJnhKiAC4gQQhomdvVnBJIOyweGAy2P7r/xIrupaMJAIFnXoMPqJIM4b+cXs4mNhudciLPKz6ZzcaTprIrgJtKuAV1/SeJHtsIsqM77hwFt9CMBlumcJRBEp26zUBojUzE5+t4USqU2KkBKbeCjaWOLKo3cJFCbb2OTZeVRPKuH12UzxGY1yVtf9vS0qFAkoWrfuliID5sR9C/SYdbabzOAqatLGdwTepRyCLgvj5HfGZwVGWNLDoVjcTr2Y/HsjHdCZc5M0pjJMG80XezkaECfAArCtv3PN3bQ== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:CH2PR13MB3525.namprd13.prod.outlook.com;PTR:;CAT:NONE;SFS:(366004)(346002)(39830400003)(396003)(136003)(376002)(86362001)(2906002)(76116006)(6512007)(36756003)(4326008)(478600001)(316002)(6506007)(54906003)(110136005)(71200400001)(186003)(5660300002)(26005)(6486002)(8676002)(2616005)(66446008)(64756008)(66556008)(83380400001)(66476007)(8936002)(66946007);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata: =?utf-8?B?cjNPalY5eFdmOWV0Nkp1ckRQOUVoTDhqL3pyZldHa1FzZUYvS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UzQvRWRIbU1NREVZc3FoVStR?= =?utf-8?B?dE5IcndLUFkvR0oyaktYUkxQdlFuKzZ6SmJla0RXV0dURklZUEVUWWg1bThL?= =?utf-8?B?amFNdkRLY2R6T016TzhFcnBBWFYwckVwQjlXVmFHNmxwSVorNHJ3QkczV2Vw?= =?utf-8?B?Tld5RkcxNkVPQTE2WFRLOFNpSE41ZHVYQjI0cDNLWGt2eEZPd3NkQ1pYTTU0?= =?utf-8?B?dEJSSHR2cTF5SXAxMzBwZkE0YkgySDlweEFrLzhYUFVqYkZCaXBXM1EzK1B2?= =?utf-8?B?eExoekFWMS9qN3BnWEVPalpoYnFqcjFNSGNuL21VWUVncnlXQ0UrcUlRZCtE?= =?utf-8?B?TUZVYnMvL0tXcnYrQ3NGUytia3o1c3ZQQ2JGNytvUkNLNk5EdGsvb01WQ1JQ?= =?utf-8?Q?z9wc9kHGyd9B5lxV53n22yy01KdkdTWWEp?= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: hammerspace.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CH2PR13MB3525.namprd13.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 58c02fde-ef5e-4bab-9402-08d8be35dfe3 X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Jan 2021 17:56:27.0103 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 0d4fed5c-3a70-46fe-9430-ece41741f59e X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: TZsUrnLpGrjdkrqrnoJOT5ifDLoXV6Xghjg778m4VaDHrEUyPpvD3LB6FlXgoHOmKDssuWNIJo/ydQjGwPdDTA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH2PR13MB3814 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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