Re: [PATCH v2] memory-hotplug: add sysfs zones_online_to attribute

2014-08-25 Thread Toshi Kani
On Fri, 2014-08-22 at 15:16 -0700, Andrew Morton wrote: > On Mon, 18 Aug 2014 11:25:36 +0800 Zhang Zhen > wrote: > > > On 2014/8/16 5:37, Toshi Kani wrote: > > > On Wed, 2014-08-13 at 12:10 +0800, Zhang Zhen wrote: > > >> Currently memory-hotplug has two limits: > > >> 1. If the memory block is

Re: [PATCH v2] memory-hotplug: add sysfs zones_online_to attribute

2014-08-24 Thread Zhang Zhen
On 2014/8/23 6:16, Andrew Morton wrote: > On Mon, 18 Aug 2014 11:25:36 +0800 Zhang Zhen > wrote: > >> On 2014/8/16 5:37, Toshi Kani wrote: >>> On Wed, 2014-08-13 at 12:10 +0800, Zhang Zhen wrote: Currently memory-hotplug has two limits: 1. If the memory block is in ZONE_NORMAL, you can

Re: [PATCH v2] memory-hotplug: add sysfs zones_online_to attribute

2014-08-22 Thread Dave Hansen
On 08/22/2014 03:16 PM, Andrew Morton wrote: > Also, it's not really clear to me why we need this sysfs file at all. > Do people really read sysfs files, make onlining decisions and manually > type in commands? Or is this stuff all automated? If the latter then > the script can take care of all

Re: [PATCH v2] memory-hotplug: add sysfs zones_online_to attribute

2014-08-22 Thread Andrew Morton
On Mon, 18 Aug 2014 11:25:36 +0800 Zhang Zhen wrote: > On 2014/8/16 5:37, Toshi Kani wrote: > > On Wed, 2014-08-13 at 12:10 +0800, 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 memor

Re: [PATCH v2] memory-hotplug: add sysfs zones_online_to attribute

2014-08-19 Thread Yasuaki Ishimatsu
(2014/08/19 16:35), Zhang Zhen wrote: On 2014/8/18 14:11, Yasuaki Ishimatsu wrote: (2014/08/13 13:10), 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.

Re: [PATCH v2] memory-hotplug: add sysfs zones_online_to attribute

2014-08-19 Thread Zhang Zhen
On 2014/8/18 14:11, Yasuaki Ishimatsu wrote: > (2014/08/13 13:10), 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

Re: [PATCH v2] memory-hotplug: add sysfs zones_online_to attribute

2014-08-18 Thread Zhang Zhen
On 2014/8/19 5:48, David Rientjes wrote: > On Wed, 13 Aug 2014, 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

Re: [PATCH v2] memory-hotplug: add sysfs zones_online_to attribute

2014-08-18 Thread David Rientjes
On Wed, 13 Aug 2014, 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_NORMAL

Re: [PATCH v2] memory-hotplug: add sysfs zones_online_to attribute

2014-08-17 Thread Yasuaki Ishimatsu
(2014/08/18 12:25), Zhang Zhen wrote: On 2014/8/16 5:37, Toshi Kani wrote: On Wed, 2014-08-13 at 12:10 +0800, 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_MO

Re: [PATCH v2] memory-hotplug: add sysfs zones_online_to attribute

2014-08-17 Thread Yasuaki Ishimatsu
(2014/08/13 13:10), 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_NORMAL, but this

Re: [PATCH v2] memory-hotplug: add sysfs zones_online_to attribute

2014-08-17 Thread Zhang Zhen
On 2014/8/16 5:37, Toshi Kani wrote: > On Wed, 2014-08-13 at 12:10 +0800, 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 bloc

Re: [PATCH v2] memory-hotplug: add sysfs zones_online_to attribute

2014-08-15 Thread Toshi Kani
On Wed, 2014-08-13 at 12:10 +0800, 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