Re: [PATCH 03/26] x86-64, NUMA: Drop @start/last_pfn from initmem_init()

From: Yinghai Lu
Date: Sat Feb 12 2011 - 12:58:54 EST


On 02/12/2011 09:10 AM, Tejun Heo wrote:
> initmem_init() extensively accesses and modifies global data
> structures and the parameters aren't even followed depending on which
> path is being used. Drop @start/last_pfn and let it deal with
> @max_pfn directly. This is in preparation for further NUMA init
> cleanups.
>
> Signed-off-by: Tejun Heo <tj@xxxxxxxxxx>
> Cc: Yinghai Lu <yinghai@xxxxxxxxxx>
> Cc: Brian Gerst <brgerst@xxxxxxxxx>
> Cc: Cyrill Gorcunov <gorcunov@xxxxxxxxx>
> Cc: Shaohui Zheng <shaohui.zheng@xxxxxxxxx>
> Cc: David Rientjes <rientjes@xxxxxxxxxx>
> Cc: Ingo Molnar <mingo@xxxxxxx>
> Cc: H. Peter Anvin <hpa@xxxxxxxxxxxxxxx>
> ---
> arch/x86/include/asm/page_types.h | 3 +--
> arch/x86/kernel/setup.c | 2 +-
> arch/x86/mm/init_64.c | 5 ++---
> arch/x86/mm/numa_64.c | 21 ++++++++-------------
> 4 files changed, 12 insertions(+), 19 deletions(-)

it will break 32bit.

Yinghai
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/