slub: Force no inlining of debug functions
authorChristoph Lameter <cl@linux.com>
Fri, 20 Aug 2010 17:37:12 +0000 (12:37 -0500)
committerPekka Enberg <penberg@kernel.org>
Sat, 2 Oct 2010 07:24:26 +0000 (10:24 +0300)
commit1537066c69bee9ebc4b998626c532ce1724d4e67
tree914bc354a286b6e14cf8f69f831f4656d9a49636
parent899611ee7d373e5eeda08e9a8632684e1ebbbf00
slub: Force no inlining of debug functions

Compiler folds the debgging functions into the critical paths.
Avoid that by adding noinline to the functions that check for
problems.

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