]> git.baikalelectronics.ru Git - kernel.git/commit
slub: Get rid of slab_free_hook_irq()
authorChristoph Lameter <cl@linux.com>
Fri, 25 Feb 2011 17:38:52 +0000 (11:38 -0600)
committerPekka Enberg <penberg@kernel.org>
Fri, 11 Mar 2011 15:42:49 +0000 (17:42 +0200)
commitfe31378dcefa2a47b69422b78cbc1674efb0c9d7
tree4b4c882c8690b52b922214f5864d9a678c0c2a06
parent8b5a4d2c9293698aed03e909452eba9e95dd7cfc
slub: Get rid of slab_free_hook_irq()

The following patch will make the fastpaths lockless and will no longer
require interrupts to be disabled. Calling the free hook with irq disabled
will no longer be possible.

Move the slab_free_hook_irq() logic into slab_free_hook. Only disable
interrupts if the features are selected that require callbacks with
interrupts off and reenable after calls have been made.

Signed-off-by: Christoph Lameter <cl@linux.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
mm/slub.c