mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-08-25 16:43:33 +03:00
Protect extents_dirty access with extents_mtx.
This fixes race conditions during purging.
This commit is contained in:
parent
bc49157d21
commit
f6d01ff4b7
5 changed files with 112 additions and 58 deletions
|
|
@ -99,6 +99,9 @@ size_t extent_size_quantize_ceil(size_t size);
|
|||
|
||||
ph_proto(, extent_heap_, extent_heap_t, extent_t)
|
||||
|
||||
extent_t *extent_alloc_cache_locked(tsdn_t *tsdn, arena_t *arena,
|
||||
extent_hooks_t **r_extent_hooks, void *new_addr, size_t usize, size_t pad,
|
||||
size_t alignment, bool *zero, bool slab);
|
||||
extent_t *extent_alloc_cache(tsdn_t *tsdn, arena_t *arena,
|
||||
extent_hooks_t **r_extent_hooks, void *new_addr, size_t usize, size_t pad,
|
||||
size_t alignment, bool *zero, bool slab);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue