Skip to contentSkip to conversation

: Stop bogus softlockup warnings in debug_show_all_locks

PATCH New Prarit Bhargava 1 participant 1 message Aug 22, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 : Stop bogus softlockup warnings in debug_show_all_locks

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

kernel/lockdep.c +3 -1
index 734da57..376b398 100644
@@ -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);