Re: [PATCH] mm: add ZONE_DEVICE statistics to smaps

From: Andrew Morton
Date: Tue Nov 15 2016 - 19:05:01 EST


On Thu, 10 Nov 2016 14:11:57 -0800 Dan Williams <dan.j.williams@xxxxxxxxx> 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?)