Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=e94a40c508dbdce872c79a13b35830c050d71e23
Commit:     e94a40c508dbdce872c79a13b35830c050d71e23
Parent:     bb4899dbef2650288d20251a736243472f050d8b
Author:     David Howells <[EMAIL PROTECTED]>
AuthorDate: Mon Apr 2 23:46:28 2007 +0100
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Wed Apr 4 08:51:52 2007 -0700

    [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 <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
---
 mm/slab.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/mm/slab.c b/mm/slab.c
index 57f7aa4..4cbac24 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 */
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to