Skip to contentSkip to conversation

softlockup: print a module list on being stuck

PATCH Applied Arjan van de Ven 2 participants 2 messages Jun 16, 2008 – Jun 18, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 softlockup: print a module list on being stuck

From: Arjan van de Ven <[email protected]>
Subject: [PATCH] softlockup: print a module list on being stuck

Most places in the kernel that go BUG: print a module list (which is very useful for doing statistics and finding patterns), however the softlockup detector does not do this yet.

This patch adds the one line change to fix this gap.

---
 kernel/softlockup.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
kernel/softlockup.c +1 -0
index 01b6522..47cc709 100644
@@ -115,6 +115,7 @@ void softlockup_tick(void)
 	printk(KERN_ERR "BUG: soft lockup - CPU#%d stuck for %lus! [%s:%d]\n",
 			this_cpu, now - touch_timestamp,
 			current->comm, task_pid_nr(current));
+	print_modules();
 	if (regs)
 		show_regs(regs);
 	else
Signature · 7 lines
1.5.4.5


-- 
If you want to reach me at my work email, use [email protected]
For development, discussion and tips for power savings, 
visit http://www.lesswatts.org
Applied
#1 lore raw
Quoted 8 lines · Arjan van de Ven

From: Arjan van de Ven <[email protected]>
Subject: [PATCH] softlockup: print a module list on being stuck

Most places in the kernel that go BUG: print a module list (which is very useful for doing statistics and finding patterns), however the softlockup detector does not do this yet.

This patch adds the one line change to fix this gap.

applied to tip/core/softlockup - thanks Arjan.

Ingo