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

2012-12-12 Thread Simon Jeons
On Wed, 2012-12-12 at 17:34 +0800, Tang Chen wrote: > Hi Simon, > > Thanks for reviewing. This logic is aimed at make movablecore_map > coexist with kernelcore/movablecore. > > Please see below. :) Hi Chen, Thanks for your detail explanation. The logic looks reasonable to me. Bu t how you

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

2012-12-12 Thread Tang Chen
Hi Simon, Thanks for reviewing. This logic is aimed at make movablecore_map coexist with kernelcore/movablecore. Please see below. :) On 12/12/2012 09:33 AM, Simon Jeons wrote: @@ -4839,9 +4839,17 @@ static void __init find_zone_movable_pfns_for_nodes(void) required_kernelcore

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

2012-12-12 Thread Tang Chen
Hi Simon, Thanks for reviewing. This logic is aimed at make movablecore_map coexist with kernelcore/movablecore. Please see below. :) On 12/12/2012 09:33 AM, Simon Jeons wrote: @@ -4839,9 +4839,17 @@ static void __init find_zone_movable_pfns_for_nodes(void) required_kernelcore

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

2012-12-12 Thread Simon Jeons
On Wed, 2012-12-12 at 17:34 +0800, Tang Chen wrote: Hi Simon, Thanks for reviewing. This logic is aimed at make movablecore_map coexist with kernelcore/movablecore. Please see below. :) Hi Chen, Thanks for your detail explanation. The logic looks reasonable to me. Bu t how you guarantee

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

2012-12-11 Thread Simon Jeons
On Tue, 2012-12-11 at 12:56 +0800, Tang Chen wrote: > 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

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

2012-12-11 Thread Simon Jeons
On Tue, 2012-12-11 at 12:56 +0800, Tang Chen wrote: 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

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

2012-12-10 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[]. change log: Move

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

2012-12-10 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[]. change log: Move