[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <50C00982.6020601@cn.fujitsu.com>
Date: Thu, 06 Dec 2012 10:57:06 +0800
From: Tang Chen <tangchen@...fujitsu.com>
To: Jianguo Wu <wujianguo@...wei.com>
CC: Jiang Liu <jiang.liu@...wei.com>, Jiang Liu <liuj97@...il.com>,
hpa@...or.com, akpm@...ux-foundation.org, rob@...dley.net,
isimatu.yasuaki@...fujitsu.com, laijs@...fujitsu.com,
wency@...fujitsu.com, linfeng@...fujitsu.com, yinghai@...nel.org,
kosaki.motohiro@...fujitsu.com, minchan.kim@...il.com,
mgorman@...e.de, rientjes@...gle.com, rusty@...tcorp.com.au,
linux-kernel@...r.kernel.org, linux-mm@...ck.org,
linux-doc@...r.kernel.org
Subject: Re: [PATCH v2 4/5] page_alloc: Make movablecore_map has higher priority
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 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,7 @@ static int __init find_zone_movable_from_movablecore_map(void)
> */
> start_pfn = max(start_pfn,
> movablecore_map.map[map_pos].start);
> - zone_movable_pfn[nid] = roundup(zone_movable_pfn[nid],
> + zone_movable_pfn[nid] = roundup(start_pfn,
> MAX_ORDER_NR_PAGES);
> break;
> }
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists