diff options
author | David Howells <dhowells@redhat.com> | 2007-04-02 18:46:28 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-04-04 11:51:52 -0400 |
commit | e94a40c508dbdce872c79a13b35830c050d71e23 (patch) | |
tree | 41803c452557e905667a8da87901ce1cc843e95c /mm/slab.c | |
parent | bb4899dbef2650288d20251a736243472f050d8b (diff) |
[PATCH] SLAB: Mention slab name when listing corrupt objects
Mention the slab name when listing corrupt objects. Although the function
that released the memory is mentioned, that is frequently ambiguous as such
functions often release several pieces of memory.
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/slab.c')
-rw-r--r-- | mm/slab.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1802,8 +1802,8 @@ static void check_poison_obj(struct kmem_cache *cachep, void *objp) | |||
1802 | /* Print header */ | 1802 | /* Print header */ |
1803 | if (lines == 0) { | 1803 | if (lines == 0) { |
1804 | printk(KERN_ERR | 1804 | printk(KERN_ERR |
1805 | "Slab corruption: start=%p, len=%d\n", | 1805 | "Slab corruption: %s start=%p, len=%d\n", |
1806 | realobj, size); | 1806 | cachep->name, realobj, size); |
1807 | print_objinfo(cachep, objp, 0); | 1807 | print_objinfo(cachep, objp, 0); |
1808 | } | 1808 | } |
1809 | /* Hexdump the affected line */ | 1809 | /* Hexdump the affected line */ |