slub: Avoid disabling interrupts in free slowpath
authorChristoph Lameter <cl@linux.com>
Wed, 1 Jun 2011 17:25:55 +0000 (12:25 -0500)
committerPekka Enberg <penberg@kernel.org>
Sat, 2 Jul 2011 10:26:56 +0000 (13:26 +0300)
commit80f08c191f6c9563641291bea80657a3b9faabf0
tree9ad3d121f6a6cd30e317b5819a0d8cb729e2b296
parent5c2e4bbbd60623f1024a753c291b666068f8a6e7
slub: Avoid disabling interrupts in free slowpath

Disabling interrupts can be avoided now. However, list operation still require
disabling interrupts since allocations can occur from interrupt
contexts and there is no way to perform atomic list operations.

The acquition of the list_lock therefore has to disable interrupts as well.

Dropping interrupt handling significantly simplifies the slowpath.

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