From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964989AbcKPAEw (ORCPT ); Tue, 15 Nov 2016 19:04:52 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:44048 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S964792AbcKPAEu (ORCPT ); Tue, 15 Nov 2016 19:04:50 -0500 Date: Tue, 15 Nov 2016 16:04:49 -0800 From: Andrew Morton To: Dan Williams Cc: Dave Hansen , linux-nvdimm@ml01.01.org, Christoph Hellwig , linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: Re: [PATCH] mm: add ZONE_DEVICE statistics to smaps Message-Id: <20161115160449.2b34c771aad710a8c8e06be0@linux-foundation.org> In-Reply-To: <147881591739.39198.1358237993213024627.stgit@dwillia2-desk3.amr.corp.intel.com> References: <147881591739.39198.1358237993213024627.stgit@dwillia2-desk3.amr.corp.intel.com> X-Mailer: Sylpheed 3.4.1 (GTK+ 2.24.23; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 10 Nov 2016 14:11:57 -0800 Dan Williams wrote: > ZONE_DEVICE pages are mapped into a process via the filesystem-dax and > device-dax mechanisms. There are also proposals to use ZONE_DEVICE > pages for other usages outside of dax. Add statistics to smaps so > applications can debug that they are obtaining the mappings they expect, > or otherwise accounting them. > > ... > > fs/proc/task_mmu.c | 10 +++++++++- Please update Documentation/filesystems/proc.txt. (While there, please check to see if anything else is missed?)