From: Christoph Lameter Date: Thu, 14 Jul 2011 17:49:12 +0000 (-0500) Subject: slub: disable interrupts in cmpxchg_double_slab when falling back to pagelock X-Git-Tag: v3.1-rc1~114^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1d07171c5e58e68a76a141970a3a5e816a414ce6;p=pandora-kernel.git slub: disable interrupts in cmpxchg_double_slab when falling back to pagelock Split cmpxchg_double_slab into two functions. One for the case where we know that interrupts are disabled (and therefore the fallback does not need to disable interrupts) and one for the other cases where fallback will also disable interrupts. This fixes the issue that __slab_free called cmpxchg_double_slab in some scenarios without disabling interrupts. Tested-by: Hugh Dickins Signed-off-by: Christoph Lameter Signed-off-by: Pekka Enberg --- Reading git-diff-tree failed