[PATCH]: Stop bogus softlockup warnings in debug_show_all_locks (2nd try)

From: Prarit Bhargava
Date: Wed Sep 05 2007 - 10:11:46 EST


Trying this again with a wider audience.

Prevent bogus softlockup warnings when dumping lock debug info during a
sysrq-t.

Signed-off-by: Prarit Bhargava <prarit@xxxxxxxxxx>

diff --git a/kernel/lockdep.c b/kernel/lockdep.c
index 734da57..376b398 100644
--- a/kernel/lockdep.c
+++ b/kernel/lockdep.c
@@ -3183,8 +3183,10 @@ retry:
printk("\n");
printk("=============================================\n\n");

- if (unlock)
+ if (unlock) {
+ touch_all_softlockup_watchdogs();
read_unlock(&tasklist_lock);
+ }
}

EXPORT_SYMBOL_GPL(debug_show_all_locks);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/