Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751282AbdH3GNz (ORCPT ); Wed, 30 Aug 2017 02:13:55 -0400 Received: from mail-eopbgr40048.outbound.protection.outlook.com ([40.107.4.48]:37328 "EHLO EUR03-DB5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750744AbdH3GNx (ORCPT ); Wed, 30 Aug 2017 02:13:53 -0400 Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=leonro@mellanox.com; Date: Wed, 30 Aug 2017 09:13:45 +0300 From: Leon Romanovsky To: =?iso-8859-1?B?Suly9G1l?= Glisse Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-rdma@vger.kernel.org, Artemy Kovalyov , Doug Ledford , "Kirill A . Shutemov" , Andrew Morton , Linus Torvalds , Andrea Arcangeli Subject: Re: [PATCH 05/13] IB/umem: update to new mmu_notifier semantic Message-ID: <20170830061345.GA26572@mtr-leonro.local> References: <20170829235447.10050-1-jglisse@redhat.com> <20170829235447.10050-6-jglisse@redhat.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="RnlQjJ0d97Da+TV1" Content-Disposition: inline In-Reply-To: <20170829235447.10050-6-jglisse@redhat.com> User-Agent: Mutt/1.8.3 (2017-05-23) X-Originating-IP: [213.57.247.46] X-ClientProxiedBy: HE1PR07CA0011.eurprd07.prod.outlook.com (2603:10a6:7:67::21) To DB5PR0501MB1927.eurprd05.prod.outlook.com (2a01:111:e400:c584::20) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 46f6d499-1c64-450b-2cf8-08d4ef6e48b8 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254152)(300000503095)(300135400095)(48565401081)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095);SRVR:DB5PR0501MB1927; X-Microsoft-Exchange-Diagnostics: 1;DB5PR0501MB1927;3:rillqlcm62ZvX1TZZPVoy6MiymUpAPABT9n2Lz8YSaSSVfhbqPqIhBHI9KryKGCA19Wdg7ASQtzDRAjec/ZfzZzrxMS5DECgvd8/DTPpdwplbZmJpnH1NFF3fekNv67VWHY3bQR+/TQU10+c+WGdyUejWH6BJiQRZR0WY5UEVGV0zhZQCJebhAUmSYPKMZ0vmE0d2N+vnCafT8/dqtGIU6kVFM3sGI8it6nhnv4hFdMh9z6M3Fzd0t7y0riAxfHD;25:ciOM73Nwxt4M6ThO59XhxTwva4kyHW1V8I0hRRrCqucm9EYGNhcFwx7cbQuBgF3yufzUTEgbfPaa4j1rAhUojX7RtjvdMUDZydXC6L87G89nRLjI38W5ej5ZV3vfvUbHcuRaNzi4mx8kGTqNgzHvdrLJQ56Y9FWAYYlGVT8A9qWdsW2tLKwXkrYNvVqI38aKvNrDXQN7JbHO1WuHdMZq8ctdazoH4K1ez5h9nJh6pcG7ZBLZGbljzUv6NLEaYWQKRHvsU2Kl7v76kpF/vdsZhthyKvMXde9wg/f9nMgO/Uvj14x4nMo/p3M4Bz3lI3fMEbDsN+VvoW9GWGf1I/4yqA==;31:2XKjm468SnZBiEtHADqBftMAmoISEQhKjtZVDUv6GbJzESekO/+UuQnkkaslYNiVXVnjec8tBu0zCzGaxu4WFkkoQVqRlmTSsT7VX9LCXiWDCDYexnMKabZH8YYcIA59p6vcmj6X7TFHMMdJoqmm1/tf8//2R0JKhalgqOT9G3jX0owh8oklkRxtbuP0IJuav+K8zxLVUldq4SskZHSzOqDv3/vzSY2RFsYLLI+H404= X-MS-TrafficTypeDiagnostic: DB5PR0501MB1927: X-Microsoft-Exchange-Diagnostics: 1;DB5PR0501MB1927;20:YwYiu0hCA5azHLFp4YPzukOo4KGYQCMElDSHsWvWLksBE65G6VZuePW8eh83bCtYhq4H8Ad3fp9ywlPHJiCjcmU2S1Eq1Z3WsOozVc0PAxgoFUcmkPxTm6dEt56s7EpIHP/L/BoHxjRe/8xFTO3oklfRexV7+mN96OApXldNfJR8sEYCDfCEeyvxiL1H3PzOQMEyLlErO4L2o4QuAZRswcLhiAVSAq0M4Qz7uFssrksrGmgx70wzleCZIsqp0UMWiCazWgmHIXIxIJ769e1IE4YRJbtB5WrTPicKiS3dbA/7PsBcNF7bOu5DlRdNE3R/1vS4uQmnivVMorrrQDuQTmk2dQHaerUrZfD+l9zJb4l7uXXsi21QoJlwTLMDYqX5Dl7llXXE8mScptvj2IJGKyOWH6pAVaVYZyo+g8SHnI0vMMiEcGm+j1DkWFd3HwhgLO2R1nk6HIBAKLdAGhJp/G7Nn2nmc75Lh5mdkiXBYZE1+EPdhHGSMOcWzAG5xMpz;4:3HUxeFCaKC1Jp7w3h3upWQHrVggCnlfYguOl3j4MEh9eK9ZFpU7T8uKvH+ryHcVnSHxj4mad0JpDAsRr7g0kgdOEsJ8IYaBZK787sFL6iCfO7jUpm4TgNv1zMTGlW3DFVbN5YFklBLjlLcxDwMRaL//bNgjeMqaDZX5xLAVvsqQjGwI/GHrqv0jTe1gbKIQGwt7dusEoNMPAfBk/pPABySpDGCwWWllxOo0xrZmllnjAlef20TwgmWKonIIF7wJxFd8UxJZvGMmQAqnd6AhoUd5ZLYtZJvukdxLUr3zOAr8yUnQz7LB8vfniaMCYPCvFR6/Y73DV7vpI9wSy4aemxw== X-Exchange-Antispam-Report-Test: UriScan:(9452136761055)(228905959029699); X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(5005006)(8121501046)(100000703101)(100105400095)(93006095)(93001095)(10201501046)(3002001)(6055026)(6041248)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123562025)(20161123558100)(20161123555025)(20161123560025)(20161123564025)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:DB5PR0501MB1927;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:DB5PR0501MB1927; X-Forefront-PRVS: 041517DFAB X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(4630300001)(7370300001)(6009001)(6069001)(189002)(24454002)(199003)(3846002)(6486002)(98436002)(478600001)(33656002)(25786009)(189998001)(6116002)(4001350100001)(97736004)(5660300001)(54356999)(66066001)(81156014)(50986999)(1076002)(4326008)(81166006)(110136004)(86362001)(8676002)(76176999)(53936002)(2906002)(76506005)(54906002)(68736007)(2950100002)(6916009)(7350300001)(84326002)(9686003)(6666003)(101416001)(305945005)(105586002)(106356001)(7736002)(229853002)(21480400003)(6246003)(6496005)(42186005)(83506001)(18370500001)(2700100001);DIR:OUT;SFP:1101;SCL:1;SRVR:DB5PR0501MB1927;H:localhost;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en; X-Microsoft-Exchange-Diagnostics: =?iso-8859-1?Q?1;DB5PR0501MB1927;23:ZcLWsvjqfnHHsJuEz0qqThGshHwgf4GU5DNQ0?= =?iso-8859-1?Q?2JXin/u4FuIwKNRi8hofjJVQT5T6J443+DmIApyqTM465X7peH/MZheQPh?= =?iso-8859-1?Q?0NQM5TomkqHBOjEdZzXdScCVK4F8i68/zEP33aohc8KsUUZyujAqo4NW+C?= =?iso-8859-1?Q?iYniZJbPtUuMZoGqevbl4+BJxKOH8jpmWcdXCyAeAMFncYujhd+AqWJ0Wz?= =?iso-8859-1?Q?4VqOs5ny69sFjdPVllocqWmKqaXzvKrqh0eNQJ6S10GojYkW4ICSpQWHCp?= =?iso-8859-1?Q?jEUlDSTcUqhUooJs8MJ2dvYGHg5cGrcTTtge/S38EWX6qNyhjLysm4hxIm?= =?iso-8859-1?Q?bZjhw6Gl4Q4pEePoIpT2Sn91pzlie0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IQ5DCILrXHAitDcpTlrT0jcGFnkvQtDsL6tv7JOZC/OOQmlUK22scSh?= =?iso-8859-1?Q?FSIVGrBETLGyHutFzbg8Z7rYG?= X-Microsoft-Exchange-Diagnostics: 1;DB5PR0501MB1927;6:lZ+yy4VyLXMrQKP+obZNFWRWmtLEF82XMqxeSWaD8tZdN8/bkGi6qtAFU6JeQWmjilUa/63PNqzmek9hpmJPUCnVxjLhTLRtb38BDc9wvAoW8J9q9XOWtXBTyTEOqyV80B+dGFd7RFlJJ7XAqb095sbDV4c90lr/Szbp8k1/CJdCppNdVT4c+5CFlz17r2cBbM0ux7Siq+kt1ZHazrza+6XIVx3AtFVknHmpENiJwHHqVHT9swdPaVcsCFCNOoQZ6jcU5gKFsDJeUStNFpybjXyps/lYul9DTjc6Uf5V86AN1msq2J/b7qYy7/y0tGipj+hbdal4UMgXF9fCFPRAkw==;5:NaF4ryHXP+EwGv9MPCgC6JHTPvZYhG/x+kMAo/eqXRe44/kofQwpDhBDDdQIu+sq1clUP6j2ifdzlnD3YD+VmJEPxDpw4i1yhcopWZKUDRkpfTyYOCPi4pGwFOKBMvOoeGczE54qncpGbhDS3KZusg==;24:EatRm9pPK9SLjFhIyGeSNA1mSLHpoKX8dkIbWFcIkBoolZahBuKa63g8lq03ak2TBZ7qp6dhQbXYfX3CIdRlOO60gIUNdS52YoqdHa91AtQ=;7:IBW6ho5RuZoCoy1fFordUGShCLpWDryrn2jfSCQwfIySp7AlXU43VdIZDdtguuuhegiDrRuQsaSlWhUCiq513gRy0rlc9MIQYX9ctFWVfHdINBc0dwEdM/UhdI497gHEY56bRfhO65KxMdx6Ef2XJzX+knioIwO/w4HeyzskcO5fUMclBwCJemdwRPJaWgjDF9U1DJ7CJSoVdPc9sRLIzAkExWJ47zLfmG49Tssr1Jg= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Aug 2017 06:13:50.7959 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB5PR0501MB1927 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2138 Lines: 58 --RnlQjJ0d97Da+TV1 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Aug 29, 2017 at 07:54:39PM -0400, J=E9r=F4me Glisse wrote: > Call to mmu_notifier_invalidate_page() are replaced by call to > mmu_notifier_invalidate_range() and thus call are bracketed by > call to mmu_notifier_invalidate_range_start()/end() > > Remove now useless invalidate_page callback. > > Signed-off-by: J=E9r=F4me Glisse > Cc: Leon Romanovsky > Cc: linux-rdma@vger.kernel.org > Cc: Artemy Kovalyov > Cc: Doug Ledford > Cc: Kirill A. Shutemov > Cc: Andrew Morton > Cc: Linus Torvalds > Cc: Andrea Arcangeli > --- > drivers/infiniband/core/umem_odp.c | 19 ------------------- > 1 file changed, 19 deletions(-) > Hi Jerome, I took this series for the tests on Mellanox ConnectX-4/5 cards which are devices beneath of this UMEM ODP code. As a reference, I took latest Doug's for-next + Linus's master (36fde05f3fb5) + whole series. Thanks --RnlQjJ0d97Da+TV1 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEkhr/r4Op1/04yqaB5GN7iDZyWKcFAlmmV5kACgkQ5GN7iDZy WKe2YQ/9EF+XXUYz7ntKUCKJISQ1Ys7lDOcg6ejNNRKL/8BSTvy+TZnHpJAwohpx wh2yQ19Sb1v5WSOqm8XgYfYDp5tnultmLFgZnV4XgPuJ62D4RovI5lULKDOqXkXJ DNqSPIP6VS0dZfO4T5IdaXAOyZ5pCxgM4fhAFH2nrfft/PoIxRcB0NKSwxcviC/s C6vs3GJGvFfJ++HsuUo6Rfil8/RDfU12aoLAVccSOuIPMIvm4XlzpZOoNeOOLymL Uh8mYog8m4L0t8OpD2XABqhYgHLPQZMdyES3Bp6lW7iaiXJ88GsgJz7UW1X1j1l2 eCdqzA0QkPwuh9MURZ8KH8vwyEm+W5aOLmjy+GnVURrwK7gZ+ewHzGQlgcx/ZEfE T4j1aTHjLU67eHAhZ+886Y9qEuem4DyIOswqADg96LSq42Y1XtO23FAcSMTk1MEO CJN8FeA1mqRKn7A7K59PDS7SU+1NDejVX1pUJQGLqzrMKcLwjezNC0nCXrjUezCC Pi2TMcn65H2Fs057jPKIT1xqBzRa+DJ++HV0smnoWANwa8jVv19GcUQS4PzmTFcJ a0NWwofSLr199e/Z87o6yI1vVNtK07DFEJlUQr3zAIYkVATe99q7hCnWPKActHW0 onOhsJR8dpjm0pE31oJyQt2hXGVjdECRN4g+c9P6r1Pm67/fXMA= =pTRo -----END PGP SIGNATURE----- --RnlQjJ0d97Da+TV1--