[ofa-general] Re: [PATCH/RFC] IB/mad: Fix possible deadlock (cancel_delayed_work inside spinlock)

Bart Van Assche bart.vanassche at gmail.com
Sun Aug 16 08:51:55 PDT 2009


On Sat, Aug 15, 2009 at 12:15 AM, Roland Dreier <rdreier at cisco.com> wrote:
> How about this approach?  Basically it just open-codes delayed work by
> splitting the timer and the work struct, and switches to mod_timer()
> instead of del_timer() + add_timer().  It passes very light testing here
> (basically I started ipoib and nothing blew up).
[ ... ]

Update: after two days of stress testing, still no lockdep complaints.
So it seems like the posted patch solves this issue. Thanks !

Bart.



More information about the general mailing list