Add taint flag outputting to slub debug paths.
Subsystems (2)
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]>
mm/slub.c +1 -1
@@ -433,7 +433,7 @@ static void slab_bug(struct kmem_cache *s, char *fmt, ...)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>