[openib-general] [PATCH] ib_mad_recv_done_handler cleanup the locking area

Krishna Kumar krkumar at us.ibm.com
Tue Nov 2 09:46:15 PST 2004


Hi Hal,

Yes, you are right. I was talking about this case with Sean, but forgot
it when I actually sent the patch.

Please disregard it.

thx,

- KK


On Tue, 2 Nov 2004, Hal Rosenstock wrote:

> On Mon, 2004-11-01 at 21:10, Krishna Kumar wrote:
> > This is a minor cleanup/optimize in this area. No need to hold lock
> > for too long (for atomic_inc), no multiple unlocks and normal case
> > of finding mad_agent first.
>
> Doesn't this create a window between the unlocking after the mad_agent
> is found and the atomic_inc ? Couldn't a deregistration occur then ?
>
> -- Hal
>
>
>




More information about the general mailing list