Thread (5 messages) flat view 5 messages, 4 authors, 2007-05-17

Re: Slab allocators: Define common size limitations

From: Arnd Bergmann <arnd@arndb.de>
Date: 2007-05-16 21:43:57
Also in: linux-mm, lkml

On Wednesday 16 May 2007, Geert Uytterhoeven wrote:
What are the changes a large allocation will actually succeed?
Is there an alignment rule for large allocations?

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?
kmalloc is limited to 128KiB on most architectures. Normally there is no
need to use it anyway, just use __get_free_pages(). It will generally
succeed at early boot time, but not after the system has been running
for some time.

	Arnd <><
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help