public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] workqueue lockup debugging
@ 2007-07-05 11:07 Johannes Berg
  2007-07-05 11:07 ` [PATCH 1/2] workqueue: debug flushing deadlocks with lockdep Johannes Berg
  2007-07-05 11:07 ` [PATCH 2/2] workqueue: debug work related " Johannes Berg
  0 siblings, 2 replies; 11+ messages in thread
From: Johannes Berg @ 2007-07-05 11:07 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel, Oleg Nesterov, Ingo Molnar, Peter Zijlstra

I recently experienced a lockup in the wireless code due to the
scenario described in patch 1 and wanted to have lockdep warn
about such scenarios as a way to catch such bugs in other
subsystems as well as to make sure we wouldn't get such things
ever again.

In discussions with Oleg and Ingo it turned out that there's
another possible deadlock with the now-recommended API of
cancel_work_sync() and I also found a way to make lockdep
catch that; it is addressed by patch 2.

Ingo thinks this could also have caught a similar lockup in the
DVB subsystem (I haven't found a patch for it yet) and would
like to see it in .23 early on.

johannes


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2007-07-12  9:35 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-05 11:07 [PATCH 0/2] workqueue lockup debugging Johannes Berg
2007-07-05 11:07 ` [PATCH 1/2] workqueue: debug flushing deadlocks with lockdep Johannes Berg
2007-07-05 14:32   ` Oleg Nesterov
2007-07-05 14:40     ` Ingo Molnar
2007-07-05 14:52       ` Oleg Nesterov
2007-07-06 10:42         ` Johannes Berg
2007-07-05 11:07 ` [PATCH 2/2] workqueue: debug work related " Johannes Berg
2007-07-05 15:36   ` Oleg Nesterov
2007-07-06 10:43     ` Johannes Berg
2007-07-06 12:53       ` Oleg Nesterov
2007-07-11 11:37         ` Johannes Berg

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