RE: [PATCH] Add /proc/PID/{smaps, numa_maps} support for DAX

From: Du, Fan
Date: Tue Oct 24 2017 - 20:32:09 EST




>-----Original Message-----
>From: Michal Hocko [mailto:mhocko@xxxxxxxxxx]
>Sent: Tuesday, October 24, 2017 8:02 PM
>To: Du, Fan <fan.du@xxxxxxxxx>
>Cc: akpm@xxxxxxxxxxxxxxxxxxxx; hch@xxxxxx; Williams, Dan J
><dan.j.williams@xxxxxxxxx>; linux-kernel@xxxxxxxxxxxxxxx
>Subject: Re: [PATCH] Add /proc/PID/{smaps, numa_maps} support for DAX
>
>On Tue 24-10-17 15:52:01, Fan Du wrote:
>> So user could check those interface for more detailed
>> information about how much DAX mappings are currently
>> created.
>>
>> Here we use vma_is_dax method to find specific page
>> struture with DAX {huge, normal}page mappings,
>> vm_normal_page routine works as before without any
>> impact on the existing logical where _vm_normal_page
>> are called.
>
>And like for any other user visible changes it should be CC to the
>linux-api mailing list and a usecase which requires this information
>provided as well.

Done!
Please kindly review v3.


>--
>Michal Hocko
>SUSE Labs