From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: MIME-Version: 1.0 In-Reply-To: <20160913121645.652e6512@roar.ozlabs.ibm.com> References: <147361509579.17004.5258725187329709824.stgit@dwillia2-desk3.amr.corp.intel.com> <20160912133536.1bdb57a9@roar.ozlabs.ibm.com> <20160913121645.652e6512@roar.ozlabs.ibm.com> From: Dan Williams Date: Mon, 12 Sep 2016 20:49:43 -0700 Message-ID: Subject: Re: [RFC PATCH 1/2] mm, mincore2(): retrieve dax and tlb-size attributes of an address range Content-Type: text/plain; charset=UTF-8 Sender: owner-linux-mm@kvack.org To: Nicholas Piggin Cc: Linux MM , Andrea Arcangeli , Xiao Guangrong , Arnd Bergmann , "linux-nvdimm@lists.01.org" , linux-api@vger.kernel.org, Dave Hansen , "linux-kernel@vger.kernel.org" , Andrew Morton , "Kirill A. Shutemov" , linux-arch@vger.kernel.org List-ID: On Mon, Sep 12, 2016 at 7:16 PM, Nicholas Piggin wrote: > On Mon, 12 Sep 2016 10:29:17 -0700 [..] >> Certainly one of the new request flags can indicate that the vector is >> made up of larger entries. > > Hmm. Changing prototype depending on flags. I thought I was having > a nightmare about ioctls for a minute there :) Heh :) > In general, is this what we want for a new API? Should we be thinking > about an extent API? This probably fits better with the use cases I know that want to consume this information, something like fiemap (mextmap, maybe?) for memory. -- 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 S1752793AbcIMDtr (ORCPT ); Mon, 12 Sep 2016 23:49:47 -0400 Received: from mail-oi0-f50.google.com ([209.85.218.50]:36265 "EHLO mail-oi0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750953AbcIMDto (ORCPT ); Mon, 12 Sep 2016 23:49:44 -0400 MIME-Version: 1.0 In-Reply-To: <20160913121645.652e6512@roar.ozlabs.ibm.com> References: <147361509579.17004.5258725187329709824.stgit@dwillia2-desk3.amr.corp.intel.com> <20160912133536.1bdb57a9@roar.ozlabs.ibm.com> <20160913121645.652e6512@roar.ozlabs.ibm.com> From: Dan Williams Date: Mon, 12 Sep 2016 20:49:43 -0700 Message-ID: Subject: Re: [RFC PATCH 1/2] mm, mincore2(): retrieve dax and tlb-size attributes of an address range To: Nicholas Piggin Cc: Linux MM , Andrea Arcangeli , Xiao Guangrong , Arnd Bergmann , "linux-nvdimm@lists.01.org" , linux-api@vger.kernel.org, Dave Hansen , "linux-kernel@vger.kernel.org" , Andrew Morton , "Kirill A. Shutemov" , linux-arch@vger.kernel.org Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Sep 12, 2016 at 7:16 PM, Nicholas Piggin wrote: > On Mon, 12 Sep 2016 10:29:17 -0700 [..] >> Certainly one of the new request flags can indicate that the vector is >> made up of larger entries. > > Hmm. Changing prototype depending on flags. I thought I was having > a nightmare about ioctls for a minute there :) Heh :) > In general, is this what we want for a new API? Should we be thinking > about an extent API? This probably fits better with the use cases I know that want to consume this information, something like fiemap (mextmap, maybe?) for memory. From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dan Williams Subject: Re: [RFC PATCH 1/2] mm, mincore2(): retrieve dax and tlb-size attributes of an address range Date: Mon, 12 Sep 2016 20:49:43 -0700 Message-ID: References: <147361509579.17004.5258725187329709824.stgit@dwillia2-desk3.amr.corp.intel.com> <20160912133536.1bdb57a9@roar.ozlabs.ibm.com> <20160913121645.652e6512@roar.ozlabs.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20160913121645.652e6512-a5aMA/AkCkgK5Ils6ZIQy0EOCMrvLtNR@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: linux-nvdimm-bounces-hn68Rpc1hR1g9hUCZPvPmw@public.gmane.org Sender: "Linux-nvdimm" To: Nicholas Piggin Cc: Andrea Arcangeli , linux-arch-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Xiao Guangrong , Arnd Bergmann , "linux-nvdimm-hn68Rpc1hR1g9hUCZPvPmw@public.gmane.org" , linux-api-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Dave Hansen , "linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , Linux MM , Andrew Morton , "Kirill A. Shutemov" List-Id: linux-api@vger.kernel.org On Mon, Sep 12, 2016 at 7:16 PM, Nicholas Piggin wrote: > On Mon, 12 Sep 2016 10:29:17 -0700 [..] >> Certainly one of the new request flags can indicate that the vector is >> made up of larger entries. > > Hmm. Changing prototype depending on flags. I thought I was having > a nightmare about ioctls for a minute there :) Heh :) > In general, is this what we want for a new API? Should we be thinking > about an extent API? This probably fits better with the use cases I know that want to consume this information, something like fiemap (mextmap, maybe?) for memory. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi0-f48.google.com ([209.85.218.48]:36265 "EHLO mail-oi0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751500AbcIMDto (ORCPT ); Mon, 12 Sep 2016 23:49:44 -0400 Received: by mail-oi0-f48.google.com with SMTP id q188so242002239oia.3 for ; Mon, 12 Sep 2016 20:49:44 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <20160913121645.652e6512@roar.ozlabs.ibm.com> References: <147361509579.17004.5258725187329709824.stgit@dwillia2-desk3.amr.corp.intel.com> <20160912133536.1bdb57a9@roar.ozlabs.ibm.com> <20160913121645.652e6512@roar.ozlabs.ibm.com> From: Dan Williams Date: Mon, 12 Sep 2016 20:49:43 -0700 Message-ID: Subject: Re: [RFC PATCH 1/2] mm, mincore2(): retrieve dax and tlb-size attributes of an address range Content-Type: text/plain; charset=UTF-8 Sender: linux-arch-owner@vger.kernel.org List-ID: To: Nicholas Piggin Cc: Linux MM , Andrea Arcangeli , Xiao Guangrong , Arnd Bergmann , "linux-nvdimm@lists.01.org" , linux-api@vger.kernel.org, Dave Hansen , "linux-kernel@vger.kernel.org" , Andrew Morton , "Kirill A. Shutemov" , linux-arch@vger.kernel.org Message-ID: <20160913034943.Te5JYmw6DWAygMzIOD2EGH8wm207HhzNc9gg2zfRfnU@z> On Mon, Sep 12, 2016 at 7:16 PM, Nicholas Piggin wrote: > On Mon, 12 Sep 2016 10:29:17 -0700 [..] >> Certainly one of the new request flags can indicate that the vector is >> made up of larger entries. > > Hmm. Changing prototype depending on flags. I thought I was having > a nightmare about ioctls for a minute there :) Heh :) > In general, is this what we want for a new API? Should we be thinking > about an extent API? This probably fits better with the use cases I know that want to consume this information, something like fiemap (mextmap, maybe?) for memory.