]> git.baikalelectronics.ru Git - kernel.git/commit
SLUB: Get rid of dynamic DMA kmalloc cache allocation
authorChristoph Lameter <cl@linux-foundation.org>
Fri, 18 Dec 2009 22:26:21 +0000 (16:26 -0600)
committerPekka Enberg <penberg@cs.helsinki.fi>
Sun, 20 Dec 2009 07:57:00 +0000 (09:57 +0200)
commit5587e434984277e4f5001471e125263061180bec
treec4a09707be2f926631815dec98b0e0f3f4b9ae20
parent973433975e20570fb24340accc26631d900c1193
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