1
1
openmpi/opal/mca
Nathan Hjelm 1d56007ab1 rcache/vma: make rcache lock recursive
There is currently a path through the grdma mpool and vma rcache that
leads to deadlock. It happens during the rcache insert. Before the
insert the rcache mutex is locked. During the call a new vma item is
allocated and then inserted into the rcache tree. The allocation
currently goes through the malloc hooks which may (and does) call back
into the mpool if the ptmalloc heap needs to be reallocated. This
callback tries to lock the rcache mutex which leads to the
deadlock. This has been observed with multi-threaded tests and the
openib btl.

This change may lead to some minor slowdown in the rcache vma when
threading is enabled. This will only affect larger message paths in
some of the btls.

Signed-off-by: Nathan Hjelm <hjelmn@lanl.gov>
2015-08-26 10:01:37 -06:00
..
allocator Merge pull request #657 from hjelmn/c99 2015-06-25 11:21:09 -06:00
backtrace Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
base mca/base: use standard verbosity levels 2015-08-17 11:48:06 -06:00
btl btl/openib: remove OFED version runtime check when XRC is used 2015-08-14 09:10:03 +09:00
common Add static definitions where needed and remove one unused definition 2015-08-13 14:59:07 -04:00
compress Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
crs Merge pull request #657 from hjelmn/c99 2015-06-25 11:21:09 -06:00
dl opal/mca/dl/dl.h: fix the #ifndef/#define name 2015-06-15 13:08:57 -07:00
dstore Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
event configury: fix libevent configure.ac 2015-08-12 15:37:22 +09:00
hwloc Update x86_32 cpuid assembly code. Cheery-picked from 2015-07-31 11:40:38 -07:00
if ownership: update ownership files 2015-06-25 10:04:42 -06:00
installdirs Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
memchecker ownership: update ownership files 2015-06-25 10:04:42 -06:00
memcpy Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
memory Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
mpool more c99 updates 2015-06-25 10:14:13 -06:00
pmix pmix_native: update to the new opal_progress_thread API 2015-08-07 10:13:40 -07:00
pstat more c99 updates 2015-06-25 10:14:13 -06:00
rcache rcache/vma: make rcache lock recursive 2015-08-26 10:01:37 -06:00
reachable Merge pull request #657 from hjelmn/c99 2015-06-25 11:21:09 -06:00
sec more c99 updates 2015-06-25 10:14:13 -06:00
shmem more c99 updates 2015-06-25 10:14:13 -06:00
timer more c99 updates 2015-06-25 10:14:13 -06:00
Makefile.am Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
mca.h Purge whitespace from the repo 2015-06-23 20:59:57 -07:00