slub: Remove dynamic dma slab allocation
authorChristoph Lameter <cl@linux.com>
Fri, 20 Aug 2010 17:37:13 +0000 (12:37 -0500)
committerPekka Enberg <penberg@kernel.org>
Sat, 2 Oct 2010 07:24:26 +0000 (10:24 +0300)
commit55136592fedf5cc58c03d9b5eb66103a9013d4e5
tree891d60718ad8bf9d7da35709a1f90fa86566506e
parent1537066c69bee9ebc4b998626c532ce1724d4e67
slub: Remove dynamic dma slab allocation

Remove the dynamic dma slab allocation since this causes too many issues with
nested locks etc etc. The change avoids passing gfpflags into many functions.

V3->V4:
- Create dma caches in kmem_cache_init() instead of kmem_cache_init_late().

Acked-by: David Rientjes <rientjes@google.com>
Signed-off-by: Christoph Lameter <cl@linux-foundation.org>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
mm/slub.c