Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

[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>

authored by

David Howells and committed by
Linus Torvalds
e94a40c5 bb4899db

+2 -2
+2 -2
mm/slab.c
··· 1802 1802 /* Print header */ 1803 1803 if (lines == 0) { 1804 1804 printk(KERN_ERR 1805 - "Slab corruption: start=%p, len=%d\n", 1806 - realobj, size); 1805 + "Slab corruption: %s start=%p, len=%d\n", 1806 + cachep->name, realobj, size); 1807 1807 print_objinfo(cachep, objp, 0); 1808 1808 } 1809 1809 /* Hexdump the affected line */