Re: [PATCH V2 3/4] mm: add a function to differentiate the pages is from DAX device memory

2018-08-07 Thread Jan Kara
On Wed 11-07-18 01:03:51, Zhang Yi wrote: > DAX driver hotplug the device memory and move it to memory zone, these > pages will be marked reserved flag, however, some other kernel componet > will misconceive these pages are reserved mmio (ex: we map these dev_dax > or fs_dax pages to kvm for

[PATCH V2 3/4] mm: add a function to differentiate the pages is from DAX device memory

2018-07-10 Thread Zhang Yi
DAX driver hotplug the device memory and move it to memory zone, these pages will be marked reserved flag, however, some other kernel componet will misconceive these pages are reserved mmio (ex: we map these dev_dax or fs_dax pages to kvm for DIMM/NVDIMM backend). Together with the type