[patch 1/7] ps3: Preallocate bootmem memory for the PS3 FLASH ROM storage driver

Arnd Bergmann arnd at arndb.de
Mon May 28 04:24:57 EST 2007


On Sunday 27 May 2007, Benjamin Herrenschmidt wrote:
> On Sat, 2007-05-26 at 10:51 +0200, Geert Uytterhoeven wrote:
> > Do you know another way to allocate an aligned chunk of 256 KiB of
> > physically
> > contiguous memory, possibly a long time after boot up?
> 
> kmalloc & a good prayer ? :-0

s/kmalloc/get_free_pages/

kmalloc is limited to 128kb.

	Arnd <><



More information about the Linuxppc-dev mailing list