Index: linux-2.6.21-rc3-mm2/mm/slub.c =================================================================== --- linux-2.6.21-rc3-mm2.orig/mm/slub.c 2007-03-19 12:41:53.000000000 -0700 +++ linux-2.6.21-rc3-mm2/mm/slub.c 2007-03-19 12:44:25.000000000 -0700 @@ -229,7 +229,7 @@ static void print_track(const char *s, s } else #endif printk(KERN_ERR "%s: 0x%p", s, t->addr); - printk(" jiffies since=%d cpu=%d pid=%d\n", t->cpu, t->pid, jiffies - t->when); + printk(" jiffies since=%lu cpu=%u pid=%d\n", t->cpu, t->pid, jiffies - t->when); } static void print_trailer(struct kmem_cache *s, u8 *p) @@ -1219,12 +1219,6 @@ void kmem_cache_free(struct kmem_cache * if (unlikely(PageCompound(page))) page = page->first_page; - if (!s) - s = page->slab; - - slab_free(s, page, x); - if (PageError(page) && s->flags & SLAB_STORE_USER) - set_tracking(s, x, 1); } EXPORT_SYMBOL(kmem_cache_free);