Re: [PATCH v2 4/5] page_alloc: Make movablecore_map has higher priority

2012-12-09 Thread Jiang Liu
On 2012-12-9 16:10, Tang Chen wrote: > Hi Liu, Wu, > > On 12/06/2012 10:26 AM, Jiang Liu wrote: >> On 2012-12-6 9:26, Tang Chen wrote: >>> On 12/05/2012 11:43 PM, Jiang Liu wrote: If we make "movablecore_map" take precedence over "movablecore/kernelcore", the logic could be simplified. I

Re: [PATCH v2 4/5] page_alloc: Make movablecore_map has higher priority

2012-12-09 Thread Tang Chen
Hi Liu, Wu, On 12/06/2012 10:26 AM, Jiang Liu wrote: On 2012-12-6 9:26, Tang Chen wrote: On 12/05/2012 11:43 PM, Jiang Liu wrote: If we make "movablecore_map" take precedence over "movablecore/kernelcore", the logic could be simplified. I think it's not so attractive to support both "movableco

Re: [PATCH v2 4/5] page_alloc: Make movablecore_map has higher priority

2012-12-05 Thread Tang Chen
Hi Liu, Wu, I got it, thank you very much. The idea is very helpful. :) I'll apply your patches and do some tests later. Thanks. :) On 12/06/2012 10:51 AM, Jianguo Wu wrote: Hi Tang, There is a bug in Gerry's patch, please apply this patch to fix it. --- mm/page_alloc.c |2 +- 1 file

Re: [PATCH v2 4/5] page_alloc: Make movablecore_map has higher priority

2012-12-05 Thread Jianguo Wu
Hi Tang, There is a bug in Gerry's patch, please apply this patch to fix it. --- mm/page_alloc.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/mm/page_alloc.c b/mm/page_alloc.c index 41c3b51..d981810 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c @@ -4383,7 +4383,

Re: [PATCH v2 4/5] page_alloc: Make movablecore_map has higher priority

2012-12-05 Thread Jiang Liu
On 2012-12-6 9:26, Tang Chen wrote: > On 12/05/2012 11:43 PM, Jiang Liu wrote: >> If we make "movablecore_map" take precedence over "movablecore/kernelcore", >> the logic could be simplified. I think it's not so attractive to support >> both "movablecore_map" and "movablecore/kernelcore" at the sam

Re: [PATCH v2 4/5] page_alloc: Make movablecore_map has higher priority

2012-12-05 Thread Tang Chen
On 12/05/2012 11:43 PM, Jiang Liu wrote: If we make "movablecore_map" take precedence over "movablecore/kernelcore", the logic could be simplified. I think it's not so attractive to support both "movablecore_map" and "movablecore/kernelcore" at the same time. Hi Liu, Thanks for you advice. :)

Re: [PATCH v2 4/5] page_alloc: Make movablecore_map has higher priority

2012-12-05 Thread Jiang Liu
If we make "movablecore_map" take precedence over "movablecore/kernelcore", the logic could be simplified. I think it's not so attractive to support both "movablecore_map" and "movablecore/kernelcore" at the same time. On 11/23/2012 06:44 PM, Tang Chen wrote: > If kernelcore or movablecore is spec

[PATCH v2 4/5] page_alloc: Make movablecore_map has higher priority

2012-11-23 Thread Tang Chen
If kernelcore or movablecore is specified at the same time with movablecore_map, movablecore_map will have higher priority to be satisfied. This patch will make find_zone_movable_pfns_for_nodes() calculate zone_movable_pfn[] with the limit from zone_movable_limit[]. Signed-off-by: Tang Chen Revie