From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751236AbdEaCKn (ORCPT ); Tue, 30 May 2017 22:10:43 -0400 Received: from mail-pg0-f65.google.com ([74.125.83.65]:34029 "EHLO mail-pg0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751200AbdEaCKl (ORCPT ); Tue, 30 May 2017 22:10:41 -0400 Date: Wed, 31 May 2017 12:10:24 +1000 From: Balbir Singh To: =?UTF-8?B?SsOpcsO0bWU=?= Glisse Cc: akpm@linux-foundation.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, Dan Williams , "Kirill A . Shutemov" , John Hubbard , Evgeny Baskakov , Mark Hairgrove , Sherry Cheung , Subhash Gutti Subject: Re: [HMM 02/15] mm/hmm: heterogeneous memory management (HMM for short) v4 Message-ID: <20170531121024.4e14f91a@firefly.ozlabs.ibm.com> In-Reply-To: <20170524172024.30810-3-jglisse@redhat.com> References: <20170524172024.30810-1-jglisse@redhat.com> <20170524172024.30810-3-jglisse@redhat.com> X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.31; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by mail.home.local id v4V2AkJi011560 On Wed, 24 May 2017 13:20:11 -0400 Jérôme Glisse wrote: > HMM provides 3 separate types of functionality: > - Mirroring: synchronize CPU page table and device page table > - Device memory: allocating struct page for device memory > - Migration: migrating regular memory to device memory > > This patch introduces some common helpers and definitions to all of > those 3 functionality. > > Changed since v3: > - Unconditionaly build hmm.c for static keys > Changed since v2: > - s/device unaddressable/device private > Changed since v1: > - Kconfig logic (depend on x86-64 and use ARCH_HAS pattern) > > Signed-off-by: Jérôme Glisse > Signed-off-by: Evgeny Baskakov > Signed-off-by: John Hubbard > Signed-off-by: Mark Hairgrove > Signed-off-by: Sherry Cheung > Signed-off-by: Subhash Gutti > --- It would be nice to explain a bit of how hmm_pfn_t bits work with pfn and find out what we need from an arch to support HMM. Balbir Singh. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg0-f71.google.com (mail-pg0-f71.google.com [74.125.83.71]) by kanga.kvack.org (Postfix) with ESMTP id D37116B0279 for ; Tue, 30 May 2017 22:10:36 -0400 (EDT) Received: by mail-pg0-f71.google.com with SMTP id d127so960775pga.11 for ; Tue, 30 May 2017 19:10:36 -0700 (PDT) Received: from mail-pg0-x242.google.com (mail-pg0-x242.google.com. [2607:f8b0:400e:c05::242]) by mx.google.com with ESMTPS id 19si14919864pgc.344.2017.05.30.19.10.36 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 30 May 2017 19:10:36 -0700 (PDT) Received: by mail-pg0-x242.google.com with SMTP id f127so141136pgc.2 for ; Tue, 30 May 2017 19:10:36 -0700 (PDT) Date: Wed, 31 May 2017 12:10:24 +1000 From: Balbir Singh Subject: Re: [HMM 02/15] mm/hmm: heterogeneous memory management (HMM for short) v4 Message-ID: <20170531121024.4e14f91a@firefly.ozlabs.ibm.com> In-Reply-To: <20170524172024.30810-3-jglisse@redhat.com> References: <20170524172024.30810-1-jglisse@redhat.com> <20170524172024.30810-3-jglisse@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Sender: owner-linux-mm@kvack.org List-ID: To: =?UTF-8?B?SsOpcsO0bWU=?= Glisse Cc: akpm@linux-foundation.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, Dan Williams , "Kirill A . Shutemov" , John Hubbard , Evgeny Baskakov , Mark Hairgrove , Sherry Cheung , Subhash Gutti On Wed, 24 May 2017 13:20:11 -0400 J=C3=A9r=C3=B4me Glisse wrote: > HMM provides 3 separate types of functionality: > - Mirroring: synchronize CPU page table and device page table > - Device memory: allocating struct page for device memory > - Migration: migrating regular memory to device memory >=20 > This patch introduces some common helpers and definitions to all of > those 3 functionality. >=20 > Changed since v3: > - Unconditionaly build hmm.c for static keys > Changed since v2: > - s/device unaddressable/device private > Changed since v1: > - Kconfig logic (depend on x86-64 and use ARCH_HAS pattern) >=20 > Signed-off-by: J=C3=A9r=C3=B4me Glisse > Signed-off-by: Evgeny Baskakov > Signed-off-by: John Hubbard > Signed-off-by: Mark Hairgrove > Signed-off-by: Sherry Cheung > Signed-off-by: Subhash Gutti > --- It would be nice to explain a bit of how hmm_pfn_t bits work with pfn and find out what we need from an arch to support HMM. Balbir Singh. -- 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