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.