Index: linux-2.6/mm/slub.c =================================================================== --- linux-2.6.orig/mm/slub.c 2007-07-02 10:57:04.000000000 -0700 +++ linux-2.6/mm/slub.c 2007-07-02 17:02:55.000000000 -0700 @@ -1637,13 +1637,7 @@ redo: ll = page->lockless_freelist; - if (likely(ll != LOCKLESS_OFF && - /* - * Is this really needed? We could just free into - * another cpuslab if it has been setup since it - * will do the counting for us then? - */ - page == s->cpu_slab[smp_processor_id()])) { + if (likely(ll != LOCKLESS_OFF)) { object[page->offset] = ll; if (cmpxchg(&page->lockless_freelist, ll, object) != ll) goto redo;