[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 23 01:10:17 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).
[ ... ]

Hello Roland,

I'm now using the SRP initiator from a kernel compiled from the
http://git.kernel.org/?p=linux/kernel/git/roland/infiniband.git
repository, and the lockdep complaints also occur on this system. The
system even deadlocks during boot about one out of two times. Do you
already know when you will have the time to commit the
locking-inversion fixes to the infiniband.git repository ?

Thanks,

Bart.



More information about the general mailing list