Skip to contentSkip to conversation

softlockup: print a module list on being stuck

GIT PULL Ingo Molnar 1 participant 1 message Jul 5, 2008

lore
Share & tools
lore
#0 lore raw

Linus,

Please pull the "softlockup: print a module list on being stuck" commit from:

git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip.git core-fixes-for-linus

this change is already in the Fedora kernel and it already was useful in narrowing down sources of soft lockups.

Thanks,

Ingo

------------------>
Arjan van de Ven (1):
softlockup: print a module list on being stuck

 kernel/softlockup.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
kernel/softlockup.c +1 -0
index c828c23..a272d78 100644
@@ -120,6 +120,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