Re: [PATCH v2] memory_hotplug: zone_can_shift() returns boolean value

2017-01-11 Thread Yasuaki Ishimatsu
Hi Andrew On 01/09/2017 06:27 PM, Andrew Morton wrote: On Tue, 13 Dec 2016 15:29:49 -0500 Yasuaki Ishimatsu wrote: online_{kernel|movable} is used to change the memory zone to ZONE_{NORMAL|MOVABLE} and online the memory. To check that memory zone can be changed, zone_can_shift() is used. Cu

Re: [PATCH v2] memory_hotplug: zone_can_shift() returns boolean value

2017-01-09 Thread Andrew Morton
On Tue, 13 Dec 2016 15:29:49 -0500 Yasuaki Ishimatsu wrote: > online_{kernel|movable} is used to change the memory zone to > ZONE_{NORMAL|MOVABLE} and online the memory. > > To check that memory zone can be changed, zone_can_shift() is used. > Currently the function returns minus integer value,

Re: [PATCH v2] memory_hotplug: zone_can_shift() returns boolean value

2016-12-13 Thread Reza Arbab
On Tue, Dec 13, 2016 at 03:29:49PM -0500, Yasuaki Ishimatsu wrote: online_{kernel|movable} is used to change the memory zone to ZONE_{NORMAL|MOVABLE} and online the memory. To check that memory zone can be changed, zone_can_shift() is used. Currently the function returns minus integer value, plu

[PATCH v2] memory_hotplug: zone_can_shift() returns boolean value

2016-12-13 Thread Yasuaki Ishimatsu
online_{kernel|movable} is used to change the memory zone to ZONE_{NORMAL|MOVABLE} and online the memory. To check that memory zone can be changed, zone_can_shift() is used. Currently the function returns minus integer value, plus integer value and 0. When the function returns minus or plus integ