Re: [HMM v16 01/15] mm/memory/hotplug: convert device bool to int to allow for more flags v2

2017-01-13 Thread Jerome Glisse
On Fri, Jan 13, 2017 at 07:27:41PM +0530, Balbir Singh wrote: > On Thu, Jan 12, 2017 at 11:30:28AM -0500, Jérôme Glisse wrote: > > When hotpluging memory we want more informations on the type of memory and > > its properties. Replace the device boolean flag by an int and define a set > > of flags.

Re: [HMM v16 01/15] mm/memory/hotplug: convert device bool to int to allow for more flags v2

2017-01-13 Thread Balbir Singh
On Thu, Jan 12, 2017 at 11:30:28AM -0500, Jérôme Glisse wrote: > When hotpluging memory we want more informations on the type of memory and > its properties. Replace the device boolean flag by an int and define a set > of flags. > > New property for device memory is an opt-in flag to allow page mi

[HMM v16 01/15] mm/memory/hotplug: convert device bool to int to allow for more flags v2

2017-01-12 Thread Jérôme Glisse
When hotpluging memory we want more informations on the type of memory and its properties. Replace the device boolean flag by an int and define a set of flags. New property for device memory is an opt-in flag to allow page migration from and to a ZONE_DEVICE. Existing user of ZONE_DEVICE are not e