[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1204601883.4707.96.camel@caritas-dev.intel.com>
Date: Tue, 04 Mar 2008 11:38:03 +0800
From: "Huang, Ying" <ying.huang@...el.com>
To: "H. Peter Anvin" <hpa@...or.com>, Ingo Molnar <mingo@...hat.com>,
Thomas Gleixner <tglx@...utronix.de>, Andi Kleen <ak@...e.de>
Cc: linux-kernel@...r.kernel.org
Subject: early_res and find_e820_area for i386?
Hi,
Before bootmem allocator is available, kernel needs allocate memory
pages such as page table and some NUMA structures. On x86_64, this is
done by early_res and find_e820_area. On i386, this is done through
using the memory area after kernel itself which is tracked with
init_pg_tables_end.
Is it better to implement early_res and find_e820_area on i386? Can we
trust E820 table on i386?
Or we add an early_alloc, which allocate memory from the memory area
after kernel itself and check the early_res areas and E820 table too.
BTW: Why not merge e820_32.c and e820_64.c? At least part of them.
Best Regards,
Huang Ying
--
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