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

Bart Van Assche bart.vanassche at gmail.com
Fri Aug 14 22:56:18 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).

The patch looks fine to me.

Bart.



More information about the general mailing list