From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752157AbdJ0IHi (ORCPT ); Fri, 27 Oct 2017 04:07:38 -0400 Received: from mx2.suse.de ([195.135.220.15]:51566 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750930AbdJ0IHd (ORCPT ); Fri, 27 Oct 2017 04:07:33 -0400 Date: Fri, 27 Oct 2017 10:07:30 +0200 From: Michal Hocko To: "Du, Fan" Cc: "Hansen, Dave" , "akpm@linux-foundation.org" , "hch@lst.de" , "Williams, Dan J" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH v4] Add /proc/PID/smaps support for DAX Message-ID: <20171027080730.3532fpgcwbozewfv@dhcp22.suse.cz> References: <5A90DA2E42F8AE43BC4A093BF06788481AA50489@SHSMSX104.ccr.corp.intel.com> <1508994790-15427-1-git-send-email-fan.du@intel.com> <482dcf1c-6013-c800-3e95-7476b9e52020@intel.com> <5A90DA2E42F8AE43BC4A093BF06788481AA513E1@SHSMSX104.ccr.corp.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5A90DA2E42F8AE43BC4A093BF06788481AA513E1@SHSMSX104.ccr.corp.intel.com> User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri 27-10-17 02:47:43, Du, Fan wrote: > > > >-----Original Message----- > >From: Hansen, Dave > >Sent: Thursday, October 26, 2017 10:03 PM > >To: Du, Fan ; akpm@linux-foundation.org; hch@lst.de; > >Williams, Dan J ; mhocko@kernel.org > >Cc: linux-kernel@vger.kernel.org > >Subject: Re: [PATCH v4] Add /proc/PID/smaps support for DAX > > > >I'm honestly not understanding what problem this solves. Could you, > >perhaps, do a before and after of smaps with and without this patch? > > The motivation here is described in the commit message. > ------------------------------------------------------------------------------------------ > Memory behind device DAX is not attached into normal memory > management system, when user mmap /dev/dax, smaps part is > currently missing, so no idea for user to check how much > device DAX memory are actually used in practice. This might be motivation but you are still not explaining _why_ that is a problem. _Who_ is going to use that information and for _what_ purpose. This is really essential! -- Michal Hocko SUSE Labs