[ofa-general] spin_lock_irqsave in ib_send_mad
Suresh Shelvapille
suri at baymicrosystems.com
Thu Jun 11 11:52:24 PDT 2009
> It's not quite this simple. Once the lock is released before calling
> ib_post_send, another thread could come down and queue a MAD to the overflow
> list. If ib_post_send fails, the overflow list must be checked to see if a
> queued mad should now be sent.
>
Why check the overflow list only when the ib_post_send fails? Don't you
need to do this regardless? It looks like you could get stuff into the overflow list
even with the existing code...
More information about the general
mailing list