Re: [PATCH] Memory hot added,The memory can not been added to movable zone

2015-08-26 Thread Changsheng Liu
在 2015/8/26 14:12, Vlastimil Babka 写道: On 26.8.2015 2:36, Changsheng Liu wrote: 在 2015/8/25 19:13, Vlastimil Babka 写道: On 08/25/2015 12:25 PM, Changsheng Liu wrote: Thanks very much for your review, I can move the memory from normal zone to movable zone succesfully. And thank you for let me

Re: [PATCH] Memory hot added,The memory can not been added to movable zone

2015-08-25 Thread Vlastimil Babka
On 26.8.2015 2:36, Changsheng Liu wrote: > > > 在 2015/8/25 19:13, Vlastimil Babka 写道: >> On 08/25/2015 12:25 PM, Changsheng Liu wrote: >>> Thanks very much for your review, I can move the memory from normal zone >>> to movable zone succesfully. >>> And thank you for let me understand the memory m

Re: [PATCH] Memory hot added,The memory can not been added to movable zone

2015-08-25 Thread Changsheng Liu
在 2015/8/25 19:13, Vlastimil Babka 写道: On 08/25/2015 12:25 PM, Changsheng Liu wrote: Thanks very much for your review, I can move the memory from normal zone to movable zone succesfully. And thank you for let me understand the memory mechanism better. 在 2015/8/25 3:15, Yasuaki Ishimatsu 写道:

Re: [PATCH] Memory hot added,The memory can not been added to movable zone

2015-08-25 Thread Vlastimil Babka
On 08/25/2015 12:25 PM, Changsheng Liu wrote: Thanks very much for your review, I can move the memory from normal zone to movable zone succesfully. And thank you for let me understand the memory mechanism better. 在 2015/8/25 3:15, Yasuaki Ishimatsu 写道: So you agree to drop the patch from -mm?

Re: [PATCH] Memory hot added,The memory can not been added to movable zone

2015-08-25 Thread Changsheng Liu
Thanks very much for your review, I can move the memory from normal zone to movable zone succesfully. And thank you for let me understand the memory mechanism better. 在 2015/8/25 3:15, Yasuaki Ishimatsu 写道: Hi On Thu, 20 Aug 2015 14:15:13 +0800 Changsheng Liu wrote: Hi Andrew Morton: First, t

Re: [PATCH] Memory hot added,The memory can not been added to movable zone

2015-08-24 Thread Yasuaki Ishimatsu
Hi On Thu, 20 Aug 2015 14:15:13 +0800 Changsheng Liu wrote: > Hi Andrew Morton: > First, thanks very much for your review, I will update codes according > to your suggestio > > 在 2015/8/20 7:50, Andrew Morton 写道: > > On Wed, 19 Aug 2015 04:18:26 -0400 Changsheng Liu > > wrote: > > > >> From

Re: [PATCH] Memory hot added,The memory can not been added to movable zone

2015-08-19 Thread Changsheng Liu
Hi Andrew Morton: First, thanks very much for your review, I will update codes according to your suggestion After the system startup, we hot added one memory. After some time we wanted to hot remove the memroy that was hot added, but we could not offline some memory blocks successfully

Re: [PATCH] Memory hot added,The memory can not been added to movable zone

2015-08-19 Thread Andrew Morton
On Wed, 19 Aug 2015 04:18:26 -0400 Changsheng Liu wrote: > From: Changsheng Liu > > When memory hot added, the function should_add_memory_movable > always return 0,because the movable zone is empty, > so the memory that hot added will add to normal zone even if > we want to remove the memory.

[PATCH] Memory hot added,The memory can not been added to movable zone

2015-08-19 Thread Changsheng Liu
From: Changsheng Liu When memory hot added, the function should_add_memory_movable always return 0,because the movable zone is empty, so the memory that hot added will add to normal zone even if we want to remove the memory. So we change the function should_add_memory_movable,if the user config C