[PATCH v2 3/9] mm: ZONE_DEVICE for "device memory"

2015-08-25 Thread Dan Williams
While pmem is usable as a block device or via DAX mappings to userspace there are several usage scenarios that can not target pmem due to its lack of struct page coverage. In preparation for "hot plugging" pmem into the vmemmap add ZONE_DEVICE as a new zone to tag these pages separately from the

[PATCH v2 3/9] mm: ZONE_DEVICE for device memory

2015-08-25 Thread Dan Williams
While pmem is usable as a block device or via DAX mappings to userspace there are several usage scenarios that can not target pmem due to its lack of struct page coverage. In preparation for hot plugging pmem into the vmemmap add ZONE_DEVICE as a new zone to tag these pages separately from the