--- mm/slub.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: linux-2.6/mm/slub.c =================================================================== --- linux-2.6.orig/mm/slub.c 2008-02-07 11:46:51.144450490 -0800 +++ linux-2.6/mm/slub.c 2008-02-07 11:47:38.273609678 -0800 @@ -1657,8 +1657,8 @@ static __always_inline void slab_free(st struct kmem_cache_cpu *c; local_irq_save(flags); - debug_check_no_locks_freed(object, s->objsize); c = get_cpu_slab(s, smp_processor_id()); + debug_check_no_locks_freed(object, c->objsize); if (likely(page == c->page && c->node >= 0)) { object[c->offset] = c->freelist; c->freelist = object;