[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1213255234.3871.3.camel@johannes.berg>
Date: Thu, 12 Jun 2008 09:20:34 +0200
From: Johannes Berg <johannes@...solutions.net>
To: David Miller <davem@...emloft.net>
Cc: davej@...emonkey.org.uk, netdev@...r.kernel.org
Subject: Re: 2.6.25rc7 lockdep trace
Technically,
> If the RTNL is held when we invoke flush_scheduled_work() we could
> deadlock. One such case is linkwatch, it is a workqueue which tries
that ^^^^^^^^^
> The most common case are net driver ->stop() methods. The
> simplest conversion is to instead use cancel_{delayed_}work_sync()
> explicitly on the various workqueues the driver uses.
and that ^^^^^^^^^^
> This is an OK transformation because these workqueues are doing things
and that ^^^^^^^^^^
should read "work struct" because it all uses the global workqueue.
I haven't looked at the drivers in more detail (sorry) but the patch
itself looks fine to me (but I wouldn't have caught something like Jarek
did with the now-unused variables.)
johannes
Download attachment "signature.asc" of type "application/pgp-signature" (837 bytes)
Powered by blists - more mailing lists