Re: [PATCH V7] mm: memory hot-add: memory can not be added to movable zone defaultly

2015-10-23 Thread Yasuaki Ishimatsu
On Wed, 21 Oct 2015 17:18:36 +0800 Tang Chen wrote: > > On 10/21/2015 05:00 PM, Vlastimil Babka wrote: > > On 10/21/2015 04:20 AM, Changsheng Liu wrote: > >> > >> > >> 在 2015/10/15 0:18, Vlastimil Babka 写道: > >>> On 10/12/2015 08:58 AM, Changsheng Liu wrote: > From: Changsheng Liu >

Re: [PATCH V7] mm: memory hot-add: memory can not be added to movable zone defaultly

2015-10-21 Thread Tang Chen
On 10/21/2015 05:18 PM, Tang Chen wrote: On 10/21/2015 05:00 PM, Vlastimil Babka wrote: On 10/21/2015 04:20 AM, Changsheng Liu wrote: 在 2015/10/15 0:18, Vlastimil Babka 写道: On 10/12/2015 08:58 AM, Changsheng Liu wrote: From: Changsheng Liu After the user config CONFIG_MOVABLE_NODE, When

Re: [PATCH V7] mm: memory hot-add: memory can not be added to movable zone defaultly

2015-10-21 Thread Tang Chen
On 10/21/2015 05:00 PM, Vlastimil Babka wrote: On 10/21/2015 04:20 AM, Changsheng Liu wrote: 在 2015/10/15 0:18, Vlastimil Babka 写道: On 10/12/2015 08:58 AM, Changsheng Liu wrote: From: Changsheng Liu After the user config CONFIG_MOVABLE_NODE, When the memory is hot added, should_add_memory

Re: [PATCH V7] mm: memory hot-add: memory can not be added to movable zone defaultly

2015-10-21 Thread Vlastimil Babka
On 10/21/2015 04:20 AM, Changsheng Liu wrote: 在 2015/10/15 0:18, Vlastimil Babka 写道: On 10/12/2015 08:58 AM, Changsheng Liu wrote: From: Changsheng Liu After the user config CONFIG_MOVABLE_NODE, When the memory is hot added, should_add_memory_movable() return 0 because all zones including Z

Re: [PATCH V7] mm: memory hot-add: memory can not be added to movable zone defaultly

2015-10-20 Thread Changsheng Liu
在 2015/10/15 0:18, Vlastimil Babka 写道: On 10/12/2015 08:58 AM, Changsheng Liu wrote: From: Changsheng Liu After the user config CONFIG_MOVABLE_NODE, When the memory is hot added, should_add_memory_movable() return 0 because all zones including ZONE_MOVABLE are empty, so the memory that was h

Re: [PATCH V7] mm: memory hot-add: memory can not be added to movable zone defaultly

2015-10-14 Thread Vlastimil Babka
On 10/12/2015 08:58 AM, Changsheng Liu wrote: > From: Changsheng Liu > > After the user config CONFIG_MOVABLE_NODE, > When the memory is hot added, should_add_memory_movable() return 0 > because all zones including ZONE_MOVABLE are empty, > so the memory that was hot added will be assigned to ZON

[PATCH V7] mm: memory hot-add: memory can not be added to movable zone defaultly

2015-10-11 Thread Changsheng Liu
From: Changsheng Liu After the user config CONFIG_MOVABLE_NODE, When the memory is hot added, should_add_memory_movable() return 0 because all zones including ZONE_MOVABLE are empty, so the memory that was hot added will be assigned to ZONE_NORMAL and ZONE_NORMAL will be created firstly. But we w