Re: [PATCH] memory-hotplug: add sysfs zone_index attribute

2014-07-25 Thread Zhang Zhen
On 2014/7/25 10:39, Zhang Zhen wrote: > On 2014/7/25 1:59, Dave Hansen wrote: >> On 07/24/2014 12:41 AM, Zhang Zhen wrote: >>> Currently memory-hotplug has two limits: >>> 1. If the memory block is in ZONE_NORMAL, you can change it to >>> ZONE_MOVABLE, but this memory block must be adjacent to ZONE

Re: [PATCH] memory-hotplug: add sysfs zone_index attribute

2014-07-24 Thread Zhang Zhen
On 2014/7/25 1:59, Dave Hansen wrote: > On 07/24/2014 12:41 AM, Zhang Zhen wrote: >> Currently memory-hotplug has two limits: >> 1. If the memory block is in ZONE_NORMAL, you can change it to >> ZONE_MOVABLE, but this memory block must be adjacent to ZONE_MOVABLE. >> 2. If the memory block is in ZO

Re: [PATCH] memory-hotplug: add sysfs zone_index attribute

2014-07-24 Thread Dave Hansen
On 07/24/2014 12:41 AM, Zhang Zhen wrote: > Currently memory-hotplug has two limits: > 1. If the memory block is in ZONE_NORMAL, you can change it to > ZONE_MOVABLE, but this memory block must be adjacent to ZONE_MOVABLE. > 2. If the memory block is in ZONE_MOVABLE, you can change it to > ZONE_NORM

[PATCH] memory-hotplug: add sysfs zone_index attribute

2014-07-24 Thread Zhang Zhen
Currently memory-hotplug has two limits: 1. If the memory block is in ZONE_NORMAL, you can change it to ZONE_MOVABLE, but this memory block must be adjacent to ZONE_MOVABLE. 2. If the memory block is in ZONE_MOVABLE, you can change it to ZONE_NORMAL, but this memory block must be adjacent to ZONE_N