summaryrefslogtreecommitdiffstats
path: root/drivers/s390/cio/qdio_setup.c
diff options
context:
space:
mode:
authorChristoph Lameter <cl@linux-foundation.org>2010-07-19 11:39:11 -0500
committerPekka Enberg <penberg@cs.helsinki.fi>2010-08-03 07:28:32 +0300
commit2bce64858442149784f6c8803c9095a8556320a2 (patch)
treef9a097d8da73f33703622d8ef4237997248b6f39 /drivers/s390/cio/qdio_setup.c
parente438444de82f354563d46ee5d991b5916dd19b01 (diff)
downloadblackbird-op-linux-2bce64858442149784f6c8803c9095a8556320a2.tar.gz
blackbird-op-linux-2bce64858442149784f6c8803c9095a8556320a2.zip
slub: Allow removal of slab caches during boot
Serialize kmem_cache_create and kmem_cache_destroy using the slub_lock. Only possible after the use of the slub_lock during dynamic dma creation has been removed. Then make sure that the setup of the slab sysfs entries does not race with kmem_cache_create and kmem_cache destroy. If a slab cache is removed before we have setup sysfs then simply skip over the sysfs handling. Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Roland Dreier <rdreier@cisco.com> Signed-off-by: Christoph Lameter <cl@linux-foundation.org> Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Diffstat (limited to 'drivers/s390/cio/qdio_setup.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud