mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH]: Stop bogus softlockup warnings in debug_show_all_locks (2nd try)
@ 2007-09-05 14:11 Prarit Bhargava
  0 siblings, 0 replies; only message in thread
From: Prarit Bhargava @ 2007-09-05 14:11 UTC (permalink / raw)
  To: linux-kernel, akpm, gbeshers, mingo, mingo; +Cc: Prarit Bhargava

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@redhat.com>

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);

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

only message in thread, other threads:[~2007-09-05 14:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-09-05 14:11 [PATCH]: Stop bogus softlockup warnings in debug_show_all_locks (2nd try) Prarit Bhargava

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

all inboxes | Powered by JetHome®