On Tue, 02 Nov 2004 11:59:18 -0500 Hal Rosenstock <[EMAIL PROTECTED]> 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 ? You are correct, Hal. We need to find and increment the mad_agent under the lock in order to prevent deregistration from completing. - Sean _______________________________________________ openib-general mailing list [EMAIL PROTECTED] http://openib.org/mailman/listinfo/openib-general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
