From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751201AbdFAWfy (ORCPT ); Thu, 1 Jun 2017 18:35:54 -0400 Received: from mx1.redhat.com ([209.132.183.28]:58480 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751078AbdFAWfx (ORCPT ); Thu, 1 Jun 2017 18:35:53 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 391FD334584 Authentication-Results: ext-mx05.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx05.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=jglisse@redhat.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 391FD334584 Date: Thu, 1 Jun 2017 18:35:50 -0400 From: Jerome Glisse To: Balbir Singh 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: <20170601223549.GB2780@redhat.com> References: <20170524172024.30810-1-jglisse@redhat.com> <20170524172024.30810-3-jglisse@redhat.com> <20170531121024.4e14f91a@firefly.ozlabs.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20170531121024.4e14f91a@firefly.ozlabs.ibm.com> User-Agent: Mutt/1.8.0 (2017-02-23) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.29]); Thu, 01 Jun 2017 22:35:53 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 31, 2017 at 12:10:24PM +1000, Balbir Singh wrote: > 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. > This is only needed for HMM_MIRROR feature so you do not care about it for powerpc Jérôme From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qk0-f197.google.com (mail-qk0-f197.google.com [209.85.220.197]) by kanga.kvack.org (Postfix) with ESMTP id 008616B0311 for ; Thu, 1 Jun 2017 18:35:55 -0400 (EDT) Received: by mail-qk0-f197.google.com with SMTP id k9so19252990qkh.10 for ; Thu, 01 Jun 2017 15:35:54 -0700 (PDT) Received: from mx1.redhat.com (mx1.redhat.com. [209.132.183.28]) by mx.google.com with ESMTPS id u25si20533220qtu.127.2017.06.01.15.35.54 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 01 Jun 2017 15:35:54 -0700 (PDT) Date: Thu, 1 Jun 2017 18:35:50 -0400 From: Jerome Glisse Subject: Re: [HMM 02/15] mm/hmm: heterogeneous memory management (HMM for short) v4 Message-ID: <20170601223549.GB2780@redhat.com> References: <20170524172024.30810-1-jglisse@redhat.com> <20170524172024.30810-3-jglisse@redhat.com> <20170531121024.4e14f91a@firefly.ozlabs.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20170531121024.4e14f91a@firefly.ozlabs.ibm.com> Sender: owner-linux-mm@kvack.org List-ID: To: Balbir Singh 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, May 31, 2017 at 12:10:24PM +1000, Balbir Singh wrote: > On Wed, 24 May 2017 13:20:11 -0400 > Jerome 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: Jerome 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. > This is only needed for HMM_MIRROR feature so you do not care about it for powerpc Jerome -- 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