Re: [PATCH 10/28] i386: map enough initial memory to create lowmem mappings

H. Peter Anvin
2007-04-23T16:03:17Z

Eric W. Biederman wrote:
>
> I happened to be looking at this stretch of code and I have realized
> that this is quite simply the wrong fix.
>
> The problem is that it depends intimately on the details of
> alloc_bootmem_pages_low. Essentially the problem is that when
> we are setting up the identity mappings in paging_init we assume
> the identity mappings already exist.
>
> If there are holes in the memory map or someone changes the way
> pages are returned from alloc_bootmem_pages_low() this code
> will break again.
>

How would holes in the memory map affect it?

-hpa