lkml.org 
[lkml]   [2012]   [Jun]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subjectoutput taint information when the rss-counter check trips up.
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

\
 
 \ /
  Last update: 2012-06-18 18:21    [W:0.038 / U:1.996 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site