SLUB: Get rid of dynamic DMA kmalloc cache allocation
commit756dee75872a2a764b478e18076360b8a4ec9045
authorChristoph Lameter <cl@linux-foundation.org>
Fri, 18 Dec 2009 22:26:21 +0000 (18 16:26 -0600)
committerPekka Enberg <penberg@cs.helsinki.fi>
Sun, 20 Dec 2009 07:57:00 +0000 (20 09:57 +0200)
treec4a09707be2f926631815dec98b0e0f3f4b9ae20
parent9dfc6e68bfe6ee452efb1a4e9ca26a9007f2b864
SLUB: Get rid of dynamic DMA kmalloc cache allocation

Dynamic DMA kmalloc cache allocation is troublesome since the
new percpu allocator does not support allocations in atomic contexts.
Reserve some statically allocated kmalloc_cpu structures instead.

Signed-off-by: Christoph Lameter <cl@linux-foundation.org>
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
include/linux/slub_def.h
mm/slub.c