diff options
| author | Jason Evans <jasone@canonware.com> | 2016-06-05 15:27:20 -0700 |
|---|---|---|
| committer | Jason Evans <jasone@canonware.com> | 2016-06-05 21:00:02 -0700 |
| commit | 4e910fc958a9df0b05ff91666c6a8cf6c76b0e76 (patch) | |
| tree | a4aff33967ad34c5afaf652123402082abe344ff /include/jemalloc | |
| parent | c4bb17f891768cb57d4559d9ffb53c304448dcdc (diff) | |
| download | platform_external_jemalloc_new-4e910fc958a9df0b05ff91666c6a8cf6c76b0e76.tar.gz platform_external_jemalloc_new-4e910fc958a9df0b05ff91666c6a8cf6c76b0e76.tar.bz2 platform_external_jemalloc_new-4e910fc958a9df0b05ff91666c6a8cf6c76b0e76.zip | |
Fix extent_alloc_dss() regressions.
Page-align the gap, if any, and add/use extent_dalloc_gap(), which
registers the gap extent before deallocation.
Diffstat (limited to 'include/jemalloc')
| -rw-r--r-- | include/jemalloc/internal/extent.h | 1 | ||||
| -rw-r--r-- | include/jemalloc/internal/private_symbols.txt | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/include/jemalloc/internal/extent.h b/include/jemalloc/internal/extent.h index 6e155206..d7944c1c 100644 --- a/include/jemalloc/internal/extent.h +++ b/include/jemalloc/internal/extent.h @@ -105,6 +105,7 @@ extent_t *extent_alloc_cache(tsdn_t *tsdn, arena_t *arena, extent_t *extent_alloc_wrapper(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 *commit, bool slab); +void extent_dalloc_gap(tsdn_t *tsdn, arena_t *arena, extent_t *extent); void extent_dalloc_cache(tsdn_t *tsdn, arena_t *arena, extent_hooks_t **r_extent_hooks, extent_t *extent); void extent_dalloc_wrapper(tsdn_t *tsdn, arena_t *arena, diff --git a/include/jemalloc/internal/private_symbols.txt b/include/jemalloc/internal/private_symbols.txt index d2c882d3..a489e14a 100644 --- a/include/jemalloc/internal/private_symbols.txt +++ b/include/jemalloc/internal/private_symbols.txt @@ -158,6 +158,7 @@ extent_committed_get extent_committed_set extent_dalloc extent_dalloc_cache +extent_dalloc_gap extent_dalloc_mmap extent_dalloc_wrapper extent_decommit_wrapper |
