Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754562AbbGUKpN (ORCPT ); Tue, 21 Jul 2015 06:45:13 -0400 Received: from mail-am1on0065.outbound.protection.outlook.com ([157.56.112.65]:41196 "EHLO emea01-am1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753422AbbGUKpJ (ORCPT ); Tue, 21 Jul 2015 06:45:09 -0400 Authentication-Results: spf=none (sender IP is 193.47.165.134) smtp.mailfrom=mellanox.com; nvidia.com; dkim=none (message not signed) header.d=none; Message-ID: <55AE2291.5020804@mellanox.com> Date: Tue, 21 Jul 2015 13:44:33 +0300 From: Haggai Eran User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: =?UTF-8?B?SsOpcsO0bWUgR2xpc3Nl?= , , CC: Christophe Harle , Duncan Poole , Sherry Cheung , Subhash Gutti , "John Hubbard" , Mark Hairgrove , Lucien Dunning , Cameron Buschardt , Arvind Gopalakrishnan , "Shachar Raindel" , Liran Liss Subject: Re: [PATCH 6/8] IB/mlx5/hmm: add mlx5 HMM device initialization and callback v3. References: <1437159665-6612-1-git-send-email-jglisse@redhat.com> <1437159665-6612-7-git-send-email-jglisse@redhat.com> In-Reply-To: <1437159665-6612-7-git-send-email-jglisse@redhat.com> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Originating-IP: [10.0.52.254] X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1;DB3FFO11FD053;1:jzz0qoUnZvqkNPjr9deo1TEBo/kLCyEmDzkzrkYxDEqYX9wvaXZx8LZGjBYjW04Jics9Q6PO5GJArgcjnXAv1B5eVo1eN6q8FvS9ESNyzSOJsSpQ6Ssc4q1cHl4OZUIjSI/IBqTuTIL+hR9RZzYyxGWECZo4qc++/4q6We6dipvXTFp5BplQSThqd0ukX7ycdHx1bcvU7WBC/xPI1XtRBHzyuNC5WV+UEleF+VhOoSxiPIGjJcCJfqnbFQTSMTZ1T2DsasJNL9nWkuV8xnG3DJDmfwBABfzpO5xF51PNRz5H4poea+Vy2X8DRbDTBCGXGfTylDM/DSRQ1SjjQ22RwrwFq3ofjWAdmerY1Ja+nrzsKE7yCuZs4cYkbDvjsGrHUmUcpITxmmwOnLgmJrqprpuJi73vzPqwiWZqJh/SteA= X-Forefront-Antispam-Report: CIP:193.47.165.134;CTRY:IL;IPV:NLI;EFV:NLI;SFV:NSPM;SFS:(10009020)(6009001)(2980300002)(428002)(189002)(24454002)(199003)(479174004)(5001770100001)(23676002)(5001920100001)(189998001)(47776003)(107886002)(6806004)(59896002)(105586002)(65956001)(77096005)(2201001)(2950100001)(33656002)(77156002)(62966003)(46102003)(86362001)(106466001)(92566002)(87936001)(64126003)(76176999)(50466002)(101416001)(65816999)(87266999)(54356999)(36756003)(50986999)(3940600001)(4001430100001);DIR:OUT;SFP:1101;SCL:1;SRVR:AM3PR05MB449;H:mtlcas13.mtl.com;FPR:;SPF:None;MLV:sfv;MX:1;A:1;LANG:; X-Microsoft-Exchange-Diagnostics: 1;AM3PR05MB449;2:3nOm1ok4u/P2j6mDKEr2snrjexuKOqpkGM6+LFkohEltFkyWF9Zx4GDV74/rIvQ2;3:8gzghQ4NXdNpBJcrF2f8K7mMG5wFJ0JoDsNrIqyqsBmF5gZ6LV1C9g32rndZJUDQkVFs4WWjgJ6fZLC8RL7y/xqkAg20opjIXPiC2sN61DTtV/QOpNPMtHzwTymhgIQ+FZcMMd4uqtyFlZ9Jxp3jjq3ZlVPvorS/sRRT0Rekpv2PmXm7N/Fo8rMYzEPPygcWGZJHXhXTgR1nUFOU3xJnS4jCBbTfljHAgk4D1+mSA7MfAejKpxypyXvvpY3xKIkn;25:aEV/uLQrA9X/6e/C5rz2RnWGGPSpn0SP6GNbg1F8k/OqdUKAaFXrphDRZnYKZdLccoWo1OZNR4vNevfEVUbPBgD/QRInoHJTbQz8D48lcTM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LsKgc/dg51nWzd/eo= AM3PR05MB449: X-MS-Exchange-Organization-RulesExecuted X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(601004)(5005006)(3002001);SRVR:AM3PR05MB449;BCL:0;PCL:0;RULEID:;SRVR:AM3PR05MB449; X-Forefront-PRVS: 0644578634 X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtBTTNQUjA1TUI0NDk7MjM6Q1VSYU8xWXA1QWp5dnZIMmdiMU5GeDZnZ1pz?= =?utf-8?B?SHUrcjFBelFKOGZJemNWcjRZdlJUSy9YWCtXRmJQOGJEVTNUSTVaNFBaancr?= =?utf-8?B?N21hYW12eHczQkcyaG5YbkFxMnRJQTNZczVaUU42dGhvTDJrYnYya2hlZm5E?= =?utf-8?B?bnc3ZnZFY0dqMjRsNkZGVmJWQTRSZHViYTliVWNaa3A1TDVQcE9BNnZGT2k0?= =?utf-8?B?Vy8zc29sR01XcWRhZm9jTklPZEQvZ3I5NWQvVDZtNnVYYzVGZTNJSUZpNkR6?= =?utf-8?B?WHhEZ1hMNFhzTEZzemg5NkpyUm1pbU00eG5ScTdYcnZad3BvclRwZHZRdU5N?= =?utf-8?B?YXhyc04zb3o1SzYyZm5NMk45SzdiUkFNZmxDaVJxcDlXV05UNjQ0TzIyZWs4?= =?utf-8?B?c250c3E5ZFNwWUpmQzZROU0ycTVqS2ZkUlhpa1dJVWd5ZnVFdmhuMFVRakVw?= =?utf-8?B?QUUvMXhGcmVFNCthWmxOQ2NUNys4V0JaNU5Od1oxZ3ZjbFZyZnYwa2lsM1J6?= =?utf-8?B?YThycmNJMmkwdmo5OXhvUS9aeHV6eUxrdG1uZTNaSE5YT0hnaWNHOEVQV2Nh?= =?utf-8?B?ZUpiM28waC84VHhQbHNRVjgzWlp3cXBITUNtaDRyUWVWeS8wYXdubCtaSUpT?= =?utf-8?B?MFl5djAxdTYrUzhEeW41Si94Z285en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hkcb6YwekCcXy6JCrQQqsXn5WKfmATDDBcl4cCW8BgH/xcnnE3tJb/VzM+bR1lvBd85xq39bW++JQuEBRM=;20:awUvUWG18/XXO6Fd7DdMxE7gCDy2+9DswqnAY6iGnK1gEhVQO/+bPtUpupQ99TuFrlWrzCgTIZFSmheuPHdX7Q== SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Jul 2015 10:45:04.4798 (UTC) X-MS-Exchange-CrossTenant-Id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=a652971c-7d2e-4d9b-a6a4-d149256f461b;Ip=[193.47.165.134];Helo=[mtlcas13.mtl.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM3PR05MB449 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 872 Lines: 21 On 17/07/2015 22:01, Jérôme Glisse wrote: > diff --git a/drivers/infiniband/core/umem_odp.c b/drivers/infiniband/core/umem_odp.c > index ac87ac6..c5e7461 100644 > --- a/drivers/infiniband/core/umem_odp.c > +++ b/drivers/infiniband/core/umem_odp.c > @@ -134,7 +134,7 @@ int ib_umem_odp_get(struct ib_ucontext *context, struct ib_umem *umem) > return -ENOMEM; > } > kref_init(&ib_mirror->kref); > - init_rwsem(&ib_mirror->hmm_mr_rwsem); > + init_rwsem(&ib_mirror->umem_rwsem); > ib_mirror->umem_tree = RB_ROOT; > ib_mirror->ib_device = ib_device; > I think this line can be squashed to the previous patch. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/