Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e94a40c5 authored by David Howells's avatar David Howells Committed by Linus Torvalds
Browse files

[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: default avatarDavid Howells <dhowells@redhat.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent bb4899db
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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 */