Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp956919ybl; Wed, 28 Aug 2019 07:42:18 -0700 (PDT) X-Google-Smtp-Source: APXvYqwc7xpH+JuB6N5GddqF282O7kitXitx4NIfM5Asx4OC3L93/ZsULD73evVZFD9svqljS9GG X-Received: by 2002:aa7:8746:: with SMTP id g6mr4844770pfo.191.1567003338094; Wed, 28 Aug 2019 07:42:18 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1567003338; cv=pass; d=google.com; s=arc-20160816; b=F9XALs4F/U3iTGT0550ZbttTMp2VWAZ5c2lU52zQ2ZAmuISc+dvvIx3hNSK4Rt7gjm qlDYpCKZj3g9n1J6CZ/dPorto/ClES0NyApIlPvq7amX0LOeIj28BMf7XINkY6JTo6Oa NsEtchAPmKL6hddPiEtK8kqcUw8SqX7tzrblJ+7vCiz8qUR/ByUkeMpwE+zaVjb3y0Nn XQsaB2JeURRLNAo0WIG78TAlSBnjprc55EeNeoUP4ytYS0TnUc91FTr26J6m+kzTlYPU mqeBpRCIACw9i4CQdwNdfDBhnQ2gELhEZltISbWRumrLHVsFUkHFME+NhO93slpdqi5i L7Qw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender: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=YZZI7TIhNJpTgpmQ3Ym9oRj66GBq3bIwhTuMAednhzk=; b=yyom1spZR948LJwkNSSljw6sAOqVotamvbXLCOCzswQLFAa2fEPWMwm6rYimOlHrsh dFE88dCKd7hgwADw3al4kgfTH8vAHQRpszWM0wYjrb2aaRRnitZ3doksbNnYRhSvfMp2 U97YaNRJBPsm8WZMaTum9EDSOD5qkcD2ezGW0TFU16ho+bXo0RmC/ED7D6aOmSeItmjJ l8OFgO68oY6QptQ0sa+ugnPAdbX5lTjd/uJdH/Mk7mqaTUkiDNJsNC6mXal9lqWgxNlX wq6abX+NcQAbe5JyjdXNcSbuVBVlLS212NaRJDzJOBn55lmtaqT8IHVIVyYe1fV0DwIB MIKA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@Mellanox.com header.s=selector2 header.b=MmMr419b; arc=pass (i=1 spf=pass spfdomain=mellanox.com dkim=pass dkdomain=mellanox.com dmarc=pass fromdomain=mellanox.com); 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mellanox.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e4si2236983pgh.434.2019.08.28.07.42.01; Wed, 28 Aug 2019 07:42:18 -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=@Mellanox.com header.s=selector2 header.b=MmMr419b; arc=pass (i=1 spf=pass spfdomain=mellanox.com dkim=pass dkdomain=mellanox.com dmarc=pass fromdomain=mellanox.com); 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mellanox.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726787AbfH1Oka (ORCPT + 99 others); Wed, 28 Aug 2019 10:40:30 -0400 Received: from mail-eopbgr130050.outbound.protection.outlook.com ([40.107.13.50]:17537 "EHLO EUR01-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726466AbfH1Oka (ORCPT ); Wed, 28 Aug 2019 10:40:30 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OkRO1UkM2QfgRz43U0yG2LQ8U7lXYH8MPLxMukBx4GseRbAZ7h8DI60HmTgEDcmb9HP6AKWeuClZ8n2pXE6s/14SC4X9Nxxx43r/+v9jnLeqf9FcDi4my7OfAC4HEanTQ6Wdl6+asDiOxNb2r2QeA+rhQ/xDczBrzLsv5a3qeXyL5TbIzhsU1sG0DVgzuApTHa8tlSIeOUJuOUU/UiV3MTah0YTxo03qmx1Df00Pz8VwAlZTF90eLEgrLhEzxXFfebN9eHwfpZrKK5DOKSySs0CiiTfVIhrLTP9nWTCnC6d9N00QMc/uHR4wcxWyYlk+7t7BNAR8yTAVacAnMNCaog== 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=YZZI7TIhNJpTgpmQ3Ym9oRj66GBq3bIwhTuMAednhzk=; b=AxQ93Gt10N08eWQmhxVhoFsBvh9tEzTMUgE/ddKcidodSu9oc8L+CjNpycBzWWZ94gTGnCfkVHXMhAcsQ27Cjl1KvnXMm7yZTC4sjk4Blk+xx2ri6z0OOveUM75UXAZIvOKjKFn5xqFTzOBp9c9MxeZElQwum6bmdRz9HuWWTAWJfK5W8zYn4zPNBMLjB5raAwr5rhtYeLYjRN1qxMUvOrLfPhayVlf661B6MAg+m3p93WG7sBfIU7HPZDJ6ZSRsgqB9SolV8XVweL1csZViSwRc8v4QjLLVFNfcYmgMV+sfJW797nRU9warG2YQCzQ5yIM6nNAebWKkxqzVRzgKYw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=mellanox.com; dmarc=pass action=none header.from=mellanox.com; dkim=pass header.d=mellanox.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=YZZI7TIhNJpTgpmQ3Ym9oRj66GBq3bIwhTuMAednhzk=; b=MmMr419bfQPRTnvudqYdzRUSIuZdO0F2FE36dx+fttfoDjni8FMfIZWHKJuxHEA9DGPUWiK3elxq75kbK8RSpq84/vpJpn4VzvAsiL96wNTy0XRd+OP1g0lfaeZz8whu1UouTDsXCMOHbiezgwmiPMVDUVSvz4QmUC7h5u7UuD4= Received: from VI1PR05MB4141.eurprd05.prod.outlook.com (10.171.182.144) by VI1PR05MB5246.eurprd05.prod.outlook.com (20.178.11.11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2178.16; Wed, 28 Aug 2019 14:40:25 +0000 Received: from VI1PR05MB4141.eurprd05.prod.outlook.com ([fe80::1d6:9c67:ea2d:38a7]) by VI1PR05MB4141.eurprd05.prod.outlook.com ([fe80::1d6:9c67:ea2d:38a7%6]) with mapi id 15.20.2199.021; Wed, 28 Aug 2019 14:40:25 +0000 From: Jason Gunthorpe To: Christoph Hellwig CC: "akpm@linux-foundation.org" , "linux-mm@kvack.org" , "linux-kernel@vger.kernel.org" , "daniel@ffwll.ch" Subject: Re: [PATCH] mm: remove the __mmu_notifier_invalidate_range_start/end exports Thread-Topic: [PATCH] mm: remove the __mmu_notifier_invalidate_range_start/end exports Thread-Index: AQHVXavZqxXcfLyzmkeft6WFMi/zb6cQobAA Date: Wed, 28 Aug 2019 14:40:25 +0000 Message-ID: <20190828144020.GI914@mellanox.com> References: <20190828142109.29012-1-hch@lst.de> In-Reply-To: <20190828142109.29012-1-hch@lst.de> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: YTBPR01CA0036.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:b01:14::49) To VI1PR05MB4141.eurprd05.prod.outlook.com (2603:10a6:803:4d::16) authentication-results: spf=none (sender IP is ) smtp.mailfrom=jgg@mellanox.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [142.167.216.168] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: e9b0e95d-f896-4947-ddcd-08d72bc5a9b6 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600166)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020);SRVR:VI1PR05MB5246; x-ms-traffictypediagnostic: VI1PR05MB5246: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7219; x-forefront-prvs: 014304E855 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(4636009)(346002)(376002)(39860400002)(136003)(396003)(366004)(199004)(189003)(4326008)(446003)(486006)(476003)(6506007)(2616005)(11346002)(4744005)(6486002)(8936002)(6512007)(99286004)(81166006)(102836004)(186003)(26005)(6436002)(2906002)(386003)(316002)(66066001)(52116002)(5660300002)(81156014)(8676002)(478600001)(14454004)(305945005)(66446008)(64756008)(6116002)(54906003)(66556008)(66946007)(7736002)(229853002)(256004)(1076003)(6916009)(71190400001)(71200400001)(53936002)(76176011)(33656002)(25786009)(36756003)(3846002)(66476007)(6246003)(86362001);DIR:OUT;SFP:1101;SCL:1;SRVR:VI1PR05MB5246;H:VI1PR05MB4141.eurprd05.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: eyNg4HLZ52LGAV0ouvh0lK+YUWuSz+vviASvTi6u4tyfRkS+6crc8iuHsljQ85TIlyyZ2x67UYnb4k+XdopeWbFkEGkqXgOxvsB9Ufc3q8V7xdpca3PlD6/O920ZuL6nACpYjRxCQm83QoQnJaFhYvi2wIIK3EFtmYaDp//b5swB1lHKRzPNPhhd5XyietoaGNUcXcHgTVPfMZPGkV0tuVkq35Ott32oLpI0CEOx5UX34FoNrTC/uwQhZTCWcjLJ4uJ47JyvTE5jMk4KsnY7SSfjYn0GceWcrR2sZl/5shBSBlp4SF42RVQygjf/urBmGf9mEDLHswSEXIGb5+3geGwoHkAO7U6h1M+QmZIuGFAXt/pP/na4omnpj/TmXi9wqlfwgOXy8wjq6nBLEAebiO4wJVpCMiRA7rzg6QhPGLk= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="us-ascii" Content-ID: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: e9b0e95d-f896-4947-ddcd-08d72bc5a9b6 X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Aug 2019 14:40:25.3928 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: paxkgAgF/TdQvDco2/uuuH66Km0esr3MC2D1DEP+cnOd7FeoGG30D6ipyiwCCcAe4NujhpWsU5QDviXZjvfESw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR05MB5246 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Aug 28, 2019 at 04:21:09PM +0200, Christoph Hellwig wrote: > Bo modular code uses these, which makes a lot of sense given the > wrappers around them are only called by core mm code. /Bo/No/ > Also remove the recently added __mmu_notifier_invalidate_range_start_map > export for which the same applies. >=20 > Signed-off-by: Christoph Hellwig > mm/mmu_notifier.c | 3 --- > 1 file changed, 3 deletions(-) >=20 > diff --git a/mm/mmu_notifier.c b/mm/mmu_notifier.c > index 690f1ea639d5..240f4e14d42e 100644 > +++ b/mm/mmu_notifier.c > @@ -25,7 +25,6 @@ DEFINE_STATIC_SRCU(srcu); > struct lockdep_map __mmu_notifier_invalidate_range_start_map =3D { > .name =3D "mmu_notifier_invalidate_range_start" > }; > -EXPORT_SYMBOL_GPL(__mmu_notifier_invalidate_range_start_map); > #endif I inlined this hunk into Daniel's patch from yesterday Reviewed-by: Jason Gunthorpe Applied to hmm.git.. What about: EXPORT_SYMBOL_GPL(__mmu_notifier_invalidate_range); elixir suggest this is not called outside mm/ either? Jason