diff options
author | Jason Evans <je@fb.com> | 2011-11-09 19:55:19 (GMT) |
---|---|---|
committer | Jason Evans <je@fb.com> | 2011-11-09 19:55:19 (GMT) |
commit | fa351d9fdcbbbfe7455279311fdf3d65751a4e75 (patch) | |
tree | 0400baca9a1c86321e1cad9cd195da051102d044 /src/arena.c | |
parent | ca9ee1a409c32e052ab04ca727bbc257a43795fc (diff) | |
download | jemalloc-fa351d9fdcbbbfe7455279311fdf3d65751a4e75.zip jemalloc-fa351d9fdcbbbfe7455279311fdf3d65751a4e75.tar.gz jemalloc-fa351d9fdcbbbfe7455279311fdf3d65751a4e75.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 'src/arena.c')
0 files changed, 0 insertions, 0 deletions