public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* output taint information when the rss-counter check trips up.
@ 2012-06-18 15:48 Dave Jones
  0 siblings, 0 replies; only message in thread
From: Dave Jones @ 2012-06-18 15:48 UTC (permalink / raw)
  To: Linux Kernel

We've had a couple reports of this happening, and it's tedious having
to spend a round trip asking "did you have 3rd party modules loaded".

Signed-off-by: Dave Jones <davej@redhat.com>

diff --git a/kernel/fork.c b/kernel/fork.c
index ab5211b..0aa3c51 100644
--- a/kernel/fork.c
+++ b/kernel/fork.c
@@ -556,7 +556,7 @@ static void check_mm(struct mm_struct *mm)
 
 		if (unlikely(x))
 			printk(KERN_ALERT "BUG: Bad rss-counter state "
-					  "mm:%p idx:%d val:%ld\n", mm, i, x);
+					  "mm:%p idx:%d val:%ld (%s)\n", mm, i, x, print_tainted());
 	}
 
 #ifdef CONFIG_TRANSPARENT_HUGEPAGE

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2012-06-18 15:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-18 15:48 output taint information when the rss-counter check trips up Dave Jones

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox