Re: discontig physical memory

Petko Manolov (pmanolov@Lnxw.COM)
Mon, 08 Oct 2001 17:36:11 -0700


"David S. Miller" wrote:
>
> You need to setup bootmem correctly, earlier on, such that
> you do not tell the kernel that there are any pages in this
> 4 - 16MB region.
>
> Do something like this instead of whatever your bootmem
> calls are doing now:
>
> bootmap_size = init_bootmem(0, (32 * 1024 * 1024));
> free_bootmem((4 * 1024 * 1024),
> ((16 - 4) * 1024 * 1024));

This is suppose to tell the kernel about the gap?

Petko
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/