]> err.no Git - linux-2.6/commit
SLUB: do proper locking during dma slab creation
authorChristoph Lameter <clameter@sgi.com>
Tue, 17 Jul 2007 11:03:25 +0000 (04:03 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 17 Jul 2007 17:23:01 +0000 (10:23 -0700)
commitdfce8648d64c07eade40d456d59cb4bfcbba008c
tree7141882bd03d9848ec6299a48bc08796a8382062
parent2e443fd003d76394a8ceb78f079260478aa10710
SLUB: do proper locking during dma slab creation

We modify the kmalloc_cache_dma[] array without proper locking.  Do the proper
locking and undo the dma cache creation if another processor has already
created it.

Signed-off-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/slub.c