Re: [OMPI devel] Problem in mpool rdma finalize

2007-08-13 Thread Jeff Squyres
On Aug 13, 2007, at 4:04 PM, Gleb Natapov wrote: mpool rdma finalize was empty function. I changed it to do the "finalize" job - go over all registered segments in mpool and release them one by one, Mpool use reference counter for each memory region and it prevents us from double free bug. I

Re: [OMPI devel] Problem in mpool rdma finalize

2007-08-13 Thread Gleb Natapov
On Mon, Aug 13, 2007 at 05:00:37PM +0300, Pavel Shamis (Pasha) wrote: > Jeff Squyres wrote: > > FWIW: we fixed this recently in the openib BTL by ensuring that all > > registered memory is freed during the BTL finalize (vs. the mpool > > finalize). > > > > This is a new issue because the mpool

Re: [OMPI devel] Problem in mpool rdma finalize

2007-08-13 Thread Pavel Shamis (Pasha)
Jeff Squyres wrote: FWIW: we fixed this recently in the openib BTL by ensuring that all registered memory is freed during the BTL finalize (vs. the mpool finalize). This is a new issue because the mpool finalize was just recently expanded to un-register all of its memory as part of the NIC

Re: [OMPI devel] Problem in mpool rdma finalize

2007-08-13 Thread Jeff Squyres
FWIW: we fixed this recently in the openib BTL by ensuring that all registered memory is freed during the BTL finalize (vs. the mpool finalize). This is a new issue because the mpool finalize was just recently expanded to un-register all of its memory as part of the NIC-restart effort (an