X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=mm%2Fslab.c;h=4cbac24ae2f1f25c2a81e728aa576f1ae8b9d254;hb=cfaae3ee4a0d00c6b22780057e958d625499e90c;hp=8fdaffa717eaa1ef21bd3b900a02c06ab7f05f66;hpb=8ef8286689c6b5bc76212437b85bdd2ba749ee44;p=linux-2.6 diff --git a/mm/slab.c b/mm/slab.c index 8fdaffa717..4cbac24ae2 100644 --- a/mm/slab.c +++ b/mm/slab.c @@ -1802,8 +1802,8 @@ static void check_poison_obj(struct kmem_cache *cachep, void *objp) /* Print header */ if (lines == 0) { printk(KERN_ERR - "Slab corruption: start=%p, len=%d\n", - realobj, size); + "Slab corruption: %s start=%p, len=%d\n", + cachep->name, realobj, size); print_objinfo(cachep, objp, 0); } /* Hexdump the affected line */ @@ -4026,7 +4026,7 @@ void drain_array(struct kmem_cache *cachep, struct kmem_list3 *l3, /** * cache_reap - Reclaim memory from caches. - * @unused: unused parameter + * @w: work descriptor * * Called from workqueue/eventd every few seconds. * Purpose: