Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |  

This web mail archive is frozen.

This page is part of a frozen web archive of this mailing list.

You can still navigate around this archive, but know that no new mails have been added to it since July of 2016.

Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.

From: Galen M. Shipman (gshipman_at_[hidden])
Date: 2005-09-21 13:06:18


Gleb,

>
> Gleb Natapov wrote:
>
>> Hello Galen,
>>
>> Finally I've got some time to look through the new code.
>> I have couple of notes. In pml_ob1_rdma.c you try to merge
>> registrations in the number of places. The code looks like this:
>> btl_mpool->mpool_deregister(btl_mpool, reg);
>> btl_mpool->mpool_register(btl_mpool,
>> new_base,
>> new_len,
>> MCA_MPOOL_FLAGS_CACHE,
>> &reg);
>> How do you know reg is not in use? You can't deregister it if
>> somebody
>> is using the registration!
>>
>
> Good catch... this should check the reference count and
> only deregister when the reference count actually goes to zero...
> _______________________________________________
> devel mailing list
> devel_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/devel
>

Yes, this was a good catch.. This was causing all sorts of fun for us!
Thanks,

Galen