slub: add taint flag outputting to debug paths
Subsystems (2)
[email protected]
maintainerPATCH 2/2 slub: add taint flag outputting to debug paths
From: Dave Jones <[email protected]>
Subject: slub: add taint flag outputting to debug paths
When we get corruption reports, it's useful to see if the kernel was tainted, to rule out problems we can't do anything about.
Signed-off-by Dave Jones <[email protected]>
Cc Pekka Enberg <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
mm/slub.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
mm/slub.c renamed from mm/slub.c~slub-add-taint-flag-outputting-to-debug-paths +1 -1
@@ -570,7 +570,7 @@ static void slab_bug(struct kmem_cache *va_end (args);printk (KERN_ERR "========================================" "=====================================\n" ); -printk (KERN_ERR "BUG %s: %s\n" , s->name, buf); +printk (KERN_ERR "BUG %s (%s): %s\n" , s->name,print_tainted (), buf);printk (KERN_ERR "----------------------------------------" "-------------------------------------\n\n" ); }
_
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>