From mboxrd@z Thu Jan 1 00:00:00 1970 From: Haggai Eran Subject: Re: HMM (Heterogeneous Memory Management) v8 Date: Sun, 31 May 2015 09:56:06 +0300 Message-ID: <556AB086.2030305@mellanox.com> References: <1432236705-4209-1-git-send-email-j.glisse@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Cc: , , Linus Torvalds , , Mel Gorman , "H. Peter Anvin" , Peter Zijlstra , Andrea Arcangeli , "Johannes Weiner" , Larry Woodman , "Rik van Riel" , Dave Airlie , Brendan Conoboy , Joe Donohue , Duncan Poole , Sherry Cheung , Subhash Gutti , John Hubbard , Mark Hairgrove , Lucien Dunning , "Cameron Buschardt" , Arvind Gopalakrishnan , Shachar Raindel , Liran Liss , Roland Dreier , Return-path: In-Reply-To: <1432236705-4209-1-git-send-email-j.glisse@gmail.com> Sender: owner-linux-mm@kvack.org List-Id: linux-fsdevel.vger.kernel.org On 21/05/2015 22:31, j.glisse@gmail.com wrote: > From design point of view not much changed since last patchset (2). > Most of the change are in small details of the API expose to device > driver. This version also include device driver change for Mellanox > hardware to use HMM as an alternative to ODP (which provide a subset > of HMM functionality specificaly for RDMA devices). Long term plan > is to have HMM completely replace ODP. Hi, I think HMM would be a good long term solution indeed. For now I would want to keep ODP and HMM side by side (as the patchset seem to do) mainly since HMM is introduced as a STAGING feature and ODP is part of the mainline kernel. It would be nice if you could provide a git repository to access the patches. I couldn't apply them to the current linux-next tree. A minor thing: I noticed some style issues in the patches. You should run checkpatch.pl on the patches and get them to match the coding style. Regards, Haggai -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pd0-f169.google.com (mail-pd0-f169.google.com [209.85.192.169]) by kanga.kvack.org (Postfix) with ESMTP id E838B6B0032 for ; Sun, 31 May 2015 02:56:04 -0400 (EDT) Received: by pdjm12 with SMTP id m12so1629972pdj.3 for ; Sat, 30 May 2015 23:56:04 -0700 (PDT) Received: from emea01-db3-obe.outbound.protection.outlook.com (mail-db3on0088.outbound.protection.outlook.com. [157.55.234.88]) by mx.google.com with ESMTPS id cy3si15932530pdb.175.2015.05.30.23.56.03 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 30 May 2015 23:56:03 -0700 (PDT) Message-ID: <556AB086.2030305@mellanox.com> Date: Sun, 31 May 2015 09:56:06 +0300 From: Haggai Eran MIME-Version: 1.0 Subject: Re: HMM (Heterogeneous Memory Management) v8 References: <1432236705-4209-1-git-send-email-j.glisse@gmail.com> In-Reply-To: <1432236705-4209-1-git-send-email-j.glisse@gmail.com> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: j.glisse@gmail.com, akpm@linux-foundation.org Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, Linus Torvalds , joro@8bytes.org, Mel Gorman , "H. Peter Anvin" , Peter Zijlstra , Andrea Arcangeli , Johannes Weiner , Larry Woodman , Rik van Riel , Dave Airlie , Brendan Conoboy , Joe Donohue , Duncan Poole , Sherry Cheung , Subhash Gutti , John Hubbard , Mark Hairgrove , Lucien Dunning , Cameron Buschardt , Arvind Gopalakrishnan , Shachar Raindel , Liran Liss , Roland Dreier , Ben Sander , Greg Stoner , John Bridgman , Michael Mantor , Paul Blinzer , Laurent Morichetti , Alexander Deucher , Oded Gabbay , linux-fsdevel@vger.kernel.org, Linda Wang , Kevin E Martin , Jeff Law , Or Gerlitz , Sagi Grimberg On 21/05/2015 22:31, j.glisse@gmail.com wrote: > From design point of view not much changed since last patchset (2). > Most of the change are in small details of the API expose to device > driver. This version also include device driver change for Mellanox > hardware to use HMM as an alternative to ODP (which provide a subset > of HMM functionality specificaly for RDMA devices). Long term plan > is to have HMM completely replace ODP. Hi, I think HMM would be a good long term solution indeed. For now I would want to keep ODP and HMM side by side (as the patchset seem to do) mainly since HMM is introduced as a STAGING feature and ODP is part of the mainline kernel. It would be nice if you could provide a git repository to access the patches. I couldn't apply them to the current linux-next tree. A minor thing: I noticed some style issues in the patches. You should run checkpatch.pl on the patches and get them to match the coding style. Regards, Haggai -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758202AbbEaHLQ (ORCPT ); Sun, 31 May 2015 03:11:16 -0400 Received: from mail-am1on0058.outbound.protection.outlook.com ([157.56.112.58]:37535 "EHLO emea01-am1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752183AbbEaHLH (ORCPT ); Sun, 31 May 2015 03:11:07 -0400 X-Greylist: delayed 904 seconds by postgrey-1.27 at vger.kernel.org; Sun, 31 May 2015 03:11:07 EDT Authentication-Results: spf=none (sender IP is 193.47.165.134) smtp.mailfrom=mellanox.com; redhat.com; dkim=none (message not signed) header.d=none; Message-ID: <556AB086.2030305@mellanox.com> Date: Sun, 31 May 2015 09:56:06 +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: , CC: , , Linus Torvalds , , Mel Gorman , "H. Peter Anvin" , Peter Zijlstra , Andrea Arcangeli , "Johannes Weiner" , Larry Woodman , "Rik van Riel" , Dave Airlie , Brendan Conoboy , Joe Donohue , Duncan Poole , Sherry Cheung , Subhash Gutti , John Hubbard , Mark Hairgrove , Lucien Dunning , "Cameron Buschardt" , Arvind Gopalakrishnan , Shachar Raindel , Liran Liss , Roland Dreier , Ben Sander , Greg Stoner , John Bridgman , Michael Mantor , "Paul Blinzer" , Laurent Morichetti , Alexander Deucher , Oded Gabbay , , "Linda Wang" , Kevin E Martin , Jeff Law , Or Gerlitz , Sagi Grimberg Subject: Re: HMM (Heterogeneous Memory Management) v8 References: <1432236705-4209-1-git-send-email-j.glisse@gmail.com> In-Reply-To: <1432236705-4209-1-git-send-email-j.glisse@gmail.com> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.0.52.254] X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1;AM1FFO11FD003;1:SBee7zdkob+6mX/Ui2CjfPbNpNESEjVv1QC6ump+eQ3m32LbA8hWOYuxy17qFU/0R+6qwd+fFUk45KMS3wUTFu9HR/LZXmu4xnXKvyOG+oaRZ3gNNZA93WYvLDxMk9ejo95Jk9n3zxvIo5asH5xrv7SLB5zgMRXYyQn/2irINFsdL6d9mkm7v9e85JQFhZ0oVIQZk0n3Ug428IW1smaxzhNLTFE3xMrVOhuNHFJzP2uyfS2fOtT5ILIl5jnLiOstH+POIALR5Prv+BAYF5orLr/Sfe4VrvW44TXXVkmhl8/nqkokT67AUcBxiKEYPKgghll2cBJUHtS0YU3uMizMWg== X-Forefront-Antispam-Report: CIP:193.47.165.134;CTRY:IL;IPV:NLI;EFV:NLI;SFV:NSPM;SFS:(10009020)(6009001)(428002)(24454002)(479174004)(199003)(189002)(189998001)(5001830100001)(6806004)(77156002)(64126003)(65816999)(62966003)(4001350100001)(97736004)(19580395003)(5001770100001)(59896002)(5001860100001)(80316001)(4001540100001)(19580405001)(83506001)(2950100001)(36756003)(47776003)(64706001)(46102003)(65806001)(65956001)(23676002)(107886002)(50986999)(86362001)(54356999)(87936001)(77096005)(33656002)(92566002)(106466001)(101416001)(105586002)(76176999)(50466002)(68736005)(87266999)(7059030)(3940600001)(4001430100001);DIR:OUT;SFP:1101;SCL:1;SRVR:DB3PR05MB540;H:mtlcas13.mtl.com;FPR:;SPF:None;PTR:ErrorRetry;A:1;MX:1;LANG:en; X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:DB3PR05MB540;UriScan:;BCL:0;PCL:0;RULEID:;SRVR:DB3PR05MB252; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(601004)(520003)(5005006)(3002001);SRVR:DB3PR05MB540;BCL:0;PCL:0;RULEID:;SRVR:DB3PR05MB540; X-Forefront-PRVS: 0593E261C4 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 May 2015 06:55:56.3670 (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: DB3PR05MB540 X-OriginatorOrg: Mellanox.com Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 21/05/2015 22:31, j.glisse@gmail.com wrote: > From design point of view not much changed since last patchset (2). > Most of the change are in small details of the API expose to device > driver. This version also include device driver change for Mellanox > hardware to use HMM as an alternative to ODP (which provide a subset > of HMM functionality specificaly for RDMA devices). Long term plan > is to have HMM completely replace ODP. Hi, I think HMM would be a good long term solution indeed. For now I would want to keep ODP and HMM side by side (as the patchset seem to do) mainly since HMM is introduced as a STAGING feature and ODP is part of the mainline kernel. It would be nice if you could provide a git repository to access the patches. I couldn't apply them to the current linux-next tree. A minor thing: I noticed some style issues in the patches. You should run checkpatch.pl on the patches and get them to match the coding style. Regards, Haggai