summaryrefslogtreecommitdiffstats
path: root/test/integration/aligned_alloc.c
diff options
context:
space:
mode:
authorJason Evans <je@fb.com>2011-11-09 19:55:19 (GMT)
committerJason Evans <je@fb.com>2011-11-15 01:13:33 (GMT)
commit03bf7a7a26f0ee9549e27c8d2f942901aeb20cf3 (patch)
tree39607e32fc050a85d47a56ebb02f7d7da3f6b1a2 /test/integration/aligned_alloc.c
parent45e040a82c121fb74337b61b3d8597b028b2dd32 (diff)
downloadjemalloc-03bf7a7a26f0ee9549e27c8d2f942901aeb20cf3.zip
jemalloc-03bf7a7a26f0ee9549e27c8d2f942901aeb20cf3.tar.gz
jemalloc-03bf7a7a26f0ee9549e27c8d2f942901aeb20cf3.tar.bz2
Fix huge_ralloc() race when using mremap(2).
Fix huge_ralloc() to remove the old memory region from tree of huge allocations *before* calling mremap(2), in order to make sure that no other thread acquires the old memory region via mmap() and encounters stale metadata in the tree. Reported by: Rich Prohaska
Diffstat (limited to 'test/integration/aligned_alloc.c')
0 files changed, 0 insertions, 0 deletions