On Mon, Sep 24, 2012 at 02:29:42PM +0100, Catalin Marinas wrote:
This function also calls free_bootmem() which takes unsigned long. Are
patches sent separately for this or we just ignore holes in memmap?
There are other calls to free_bootmem() or reserve_bootmem(), do they
just work with the high phys addresses?
Bootmem only deals with physical addresses which fit within the size
of an 'unsigned long'. Unfortunately, the bootmem API is a mess of
'unsigned long' physical addresses and PFNs.
Years ago there was a patch to make it use only PFNs but other changes
resulted in that patch being thrown away.