Re: [HMM 01/16] mm/memory/hotplug: convert device bool to int to allow for more flags v3

2017-03-19 Thread Mel Gorman
On Thu, Mar 16, 2017 at 12:05:20PM -0400, 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

Re: [HMM 01/16] mm/memory/hotplug: convert device bool to int to allow for more flags v3

2017-03-19 Thread Mel Gorman
On Thu, Mar 16, 2017 at 12:05:20PM -0400, 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

[HMM 01/16] mm/memory/hotplug: convert device bool to int to allow for more flags v3

2017-03-16 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

[HMM 01/16] mm/memory/hotplug: convert device bool to int to allow for more flags v3

2017-03-16 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