Re: [HMM 04/16] mm/ZONE_DEVICE/unaddressable: add support for un-addressable device memory v3

2017-03-19 Thread Mel Gorman
Nits mainly On Thu, Mar 16, 2017 at 12:05:23PM -0400, J?r?me Glisse wrote: > This add support for un-addressable device memory. Such memory is hotpluged hotplugged > only so we can have struct page but we should never map them as such memory > can not be accessed by CPU. For that reason it uses

Re: [HMM 04/16] mm/ZONE_DEVICE/unaddressable: add support for un-addressable device memory v3

2017-03-19 Thread Mel Gorman
Nits mainly On Thu, Mar 16, 2017 at 12:05:23PM -0400, J?r?me Glisse wrote: > This add support for un-addressable device memory. Such memory is hotpluged hotplugged > only so we can have struct page but we should never map them as such memory > can not be accessed by CPU. For that reason it uses

[HMM 04/16] mm/ZONE_DEVICE/unaddressable: add support for un-addressable device memory v3

2017-03-16 Thread Jérôme Glisse
This add support for un-addressable device memory. Such memory is hotpluged only so we can have struct page but we should never map them as such memory can not be accessed by CPU. For that reason it uses a special swap entry for CPU page table entry. This patch implement all the logic from

[HMM 04/16] mm/ZONE_DEVICE/unaddressable: add support for un-addressable device memory v3

2017-03-16 Thread Jérôme Glisse
This add support for un-addressable device memory. Such memory is hotpluged only so we can have struct page but we should never map them as such memory can not be accessed by CPU. For that reason it uses a special swap entry for CPU page table entry. This patch implement all the logic from