1
1
openmpi/opal/mca/rcache/base
Nathan Hjelm 79cabc92fd rcache/base: do not release vma stuctures in vma_tree_delete
This commit fixes a deadlock that can occur when the libc version
holds a lock when calling munmap. In this case we could end up calling
free() from vma_tree_delete which would in turn try to obtain the lock
in libc. To avoid the issue put any deleted vma's in a new list on the
vma module and release them on the next call to vma_tree_insert. This
should be safe as this function is not called from the memory hooks.

Signed-off-by: Nathan Hjelm <hjelmn@lanl.gov>
2017-01-10 16:58:07 -07:00
..
base.h opal/memory: move initialization to first rcache creation 2016-04-13 17:21:46 -06:00
help-rcache-base.txt rcache: fix leave_pinned failure path 2016-04-26 14:39:23 -06:00
Makefile.am rcache/base: add missing file to tarball 2016-04-19 11:03:38 -06:00
rcache_base_create.c rcache: fix leave_pinned failure path 2016-04-26 14:39:23 -06:00
rcache_base_frame.c opal/memory: move initialization to first rcache creation 2016-04-13 17:21:46 -06:00
rcache_base_mem_cb.c opal: rework mpool and rcache frameworks 2016-03-14 10:50:41 -06:00
rcache_base_mem_cb.h opal: rework mpool and rcache frameworks 2016-03-14 10:50:41 -06:00
rcache_base_vma_tree.c rcache/base: do not release vma stuctures in vma_tree_delete 2017-01-10 16:58:07 -07:00
rcache_base_vma_tree.h rcache: fix deadlock in multi-threaded environments 2016-05-17 09:02:40 -06:00
rcache_base_vma.c rcache: fix deadlock in multi-threaded environments 2016-05-17 09:02:40 -06:00
rcache_base_vma.h rcache/base: do not release vma stuctures in vma_tree_delete 2017-01-10 16:58:07 -07:00