Re: early_res and find_e820_area for i386?

Andi Kleen
2008-03-04T11:47:00Z

On Tuesday 04 March 2008 11:48:53 Ingo Molnar wrote:
>
> * Andi Kleen <ak@suse.de> 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