Messages in this thread | | | Date | Thu, 29 May 2008 11:41:54 -0700 | From | "Yinghai Lu" <> | Subject | Re: [PATCH] x86: extend e820 ealy_res support 32bit - fix #2 |
| |
On Thu, May 29, 2008 at 6:37 AM, Jeremy Fitzhardinge <jeremy@goop.org> wrote: > Yinghai Lu wrote: >> >> can we use e820 entries for that? So the domain builder could have >> several entries for E820_RAM and E820_RESERVED... >> > > I tried this, but it doesn't work; the kernel crashes during boot, > presumably because it's trying to use the reserved memory as heap. I > suspect the e820 maps are not registered early enough or something... > > (One thought: if reserving in the E820 map were enough, then couldn't we use > it for all the early reservations?)
"e820 reserved entries" means kernel will only read it.
reserve_early will be converted to bootmem via reserve_bootmem[_generic] and later it could be freed and be reused.
YH
| |