--- mm/slub.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: slub/mm/slub.c =================================================================== --- slub.orig/mm/slub.c 2007-05-06 23:09:51.000000000 -0700 +++ slub/mm/slub.c 2007-05-06 23:10:27.000000000 -0700 @@ -1383,7 +1383,7 @@ static void slab_free(struct kmem_cache * Is this the cpu slab for the current processor? Then we can use * the cpu_freelist without having to take the slab lock */ - if (page == s->cpu_slab[smp_processor_id()] && !SlabDebug(page)) { + if (likely(page == s->cpu_slab[smp_processor_id()] && !SlabDebug(page))) { object[page->offset] = page->cpu_freelist; page->cpu_freelist = object; local_irq_restore(flags);