On Tue, 17 Aug 2010, Christoph Lameter wrote: > Compiler folds the debgging functions into the critical paths. > Avoid that by adding noinline to the functions that check for > problems. > > Signed-off-by: Christoph Lameter <cl@xxxxxxxxx> Acked-by: David Rientjes <rientjes@xxxxxxxxxx> This certainly generates better code for __slab_alloc() and __slab_free(). -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxxx For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>