Re: early_res and find_e820_area for i386?

From: Andi Kleen
Date: Tue Mar 04 2008 - 06:47:01 EST


On Tuesday 04 March 2008 11:48:53 Ingo Molnar wrote:
>
> * Andi Kleen <ak@xxxxxxx> wrote:
>
> > On Tuesday 04 March 2008 04:38:03 Huang, Ying wrote:
> >
> > > Is it better to implement early_res and find_e820_area on i386? Can
> > > we trust E820 table on i386?
> >
> > The 64bit code is certainly more flexible and cleaner, but also much
> > more complicated.. [...]
>
> i disagree, the early_res stuff is still quite unclean,

I was mostly refering to the main e820 allocator.

early_res is just an addon table for kernel internal use. While you
could put that into the main e820 table too if you made that one variable
sized I don't think it would make too much difference either way.
It's just a minor tweak of the data structure.

-Andi
--
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/