Slab allocators: Define common size limitations

David Miller davem at davemloft.net
Wed May 16 17:02:36 EST 2007


From: Geert Uytterhoeven <Geert.Uytterhoeven at sonycom.com>
Date: Wed, 16 May 2007 08:58:39 +0200 (CEST)

> E.g. for one of the PS3 drivers I need a physically contiguous 256
> KiB-aligned block of 256 KiB. Currently I'm using __alloc_bootmem()
> for that, but maybe kmalloc() becomes a suitable alternative now?

I'm allocating up to 1MB for per-process TLB hash tables
on sparc64.  But I can gracefully handle failures and it's
just a performance tweak to use such large sized tables.



More information about the Linuxppc-dev mailing list