Re: [PATCH 3/3] memory-hotplug: use zone_can_shift() for sysfs valid_zones attribute

2016-05-13 Thread Yasuaki Ishimatsu
On Mon, 9 May 2016 12:53:39 -0500 Reza Arbab wrote: > Since zone_can_shift() is being used to validate the target zone during > onlining, it should also be used to determine the content of valid_zones. > > Signed-off-by: Reza Arbab > ---

Re: [PATCH 3/3] memory-hotplug: use zone_can_shift() for sysfs valid_zones attribute

2016-05-13 Thread Yasuaki Ishimatsu
On Mon, 9 May 2016 12:53:39 -0500 Reza Arbab wrote: > Since zone_can_shift() is being used to validate the target zone during > onlining, it should also be used to determine the content of valid_zones. > > Signed-off-by: Reza Arbab > --- Looks good to me. Reviewd-by: Yasuaki Ishimatsu

[PATCH 3/3] memory-hotplug: use zone_can_shift() for sysfs valid_zones attribute

2016-05-09 Thread Reza Arbab
Since zone_can_shift() is being used to validate the target zone during onlining, it should also be used to determine the content of valid_zones. Signed-off-by: Reza Arbab --- drivers/base/memory.c | 28 +--- 1 file changed, 17 insertions(+), 11

[PATCH 3/3] memory-hotplug: use zone_can_shift() for sysfs valid_zones attribute

2016-05-09 Thread Reza Arbab
Since zone_can_shift() is being used to validate the target zone during onlining, it should also be used to determine the content of valid_zones. Signed-off-by: Reza Arbab --- drivers/base/memory.c | 28 +--- 1 file changed, 17 insertions(+), 11 deletions(-) diff --git