[openib-general] [PATCH] Missing check for atomic_dec in ib_post_send_mad

Krishna Kumar krkumar at us.ibm.com
Tue Nov 2 09:59:14 PST 2004


Hi Sean,

I think that is the best approach. And using this method, we can also
avoid holding the lock if solicited is set. I will send a patch in a
few minutes if this approach looks good.

Thanks,

- KK

On Tue, 2 Nov 2004, Sean Hefty wrote:

> Related to this, the call to silicited_mad() doesn't need to be made
> while holding the lock. Moving this outside, we can push the locking
> inside find_mad_agent as well, if it makes more sense to do so.




More information about the general mailing list