1
1
openmpi/ompi/mca/mpool/base
Galen Shipman 9fe5844071 decrement ref count on removal of registration from mru and tree.
add misc asserts to check for proper reference counting. 

ugly hack 1 -- use mallopt to never release memory ala sbrk - this is
commented out in mca_btl_mvapi_component_init

ugly hack 2 -- test registrations comming out of the tree via rcache_find, for
an unknown reason the tree is returning registrations where the address is not
within the base or bound of the registration. If this happens, we return
NULL. 

comment out code to enable mem hooks if leave_pinned is set, note we can do
this via an mca param and will default it to leave_pinned with mem_hooks when
we iron out these issues. 

I am adding a unit test for the rcache. Note that we have a unit test for the
rb tree but the compare function is significantly different than that used for
registrations. After we have tracked down the issues with rcache_rb we will
remove the above hacks. 

This commit was SVN r7499.
2005-09-24 00:24:49 +00:00
..
base.h modified mpool module to contain flags - used to determine if the mpool will 2005-09-16 22:22:03 +00:00
Makefile.am Callback shouldn't be static as it is used in more than one .c file. 2005-09-14 13:27:09 +00:00
mpool_base_alloc.c corrections for MPI_Free_mem 2005-09-22 15:47:33 +00:00
mpool_base_close.c modified mpool module to contain flags - used to determine if the mpool will 2005-09-16 22:22:03 +00:00
mpool_base_init.c modified mpool module to contain flags - used to determine if the mpool will 2005-09-16 22:22:03 +00:00
mpool_base_lookup.c modified mpool module to contain flags - used to determine if the mpool will 2005-09-16 22:22:03 +00:00
mpool_base_mem_cb.c decrement ref count on removal of registration from mru and tree. 2005-09-24 00:24:49 +00:00
mpool_base_mem_cb.h Callback shouldn't be static as it is used in more than one .c file. 2005-09-14 13:27:09 +00:00
mpool_base_open.c decrement ref count on removal of registration from mru and tree. 2005-09-24 00:24:49 +00:00