diff options
author | daan <daanl@outlook.com> | 2020-05-01 21:14:41 -0700 |
---|---|---|
committer | daan <daanl@outlook.com> | 2020-05-01 21:14:41 -0700 |
commit | dcb3574cf05c66ca141d86b3ad33089495f9fbca (patch) | |
tree | 8463ef189b4d570b43ed015546cafecd9815f030 /include/mimalloc-internal.h | |
parent | dad3be3c645a5e8844df50c38fc9c50d0cc88d6a (diff) |
fix assertions for huge segment free
Diffstat (limited to 'include/mimalloc-internal.h')
-rw-r--r-- | include/mimalloc-internal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mimalloc-internal.h b/include/mimalloc-internal.h index e264751..01be32c 100644 --- a/include/mimalloc-internal.h +++ b/include/mimalloc-internal.h @@ -82,6 +82,7 @@ void _mi_segment_page_free(mi_page_t* page, bool force, mi_segments_tld_t* void _mi_segment_page_abandon(mi_page_t* page, mi_segments_tld_t* tld); bool _mi_segment_try_reclaim_abandoned( mi_heap_t* heap, bool try_all, mi_segments_tld_t* tld); void _mi_segment_thread_collect(mi_segments_tld_t* tld); +void _mi_segment_huge_page_free(mi_segment_t* segment, mi_page_t* page, mi_block_t* block); uint8_t* _mi_segment_page_start(const mi_segment_t* segment, const mi_page_t* page, size_t* page_size); // page start for any page void _mi_abandoned_reclaim_all(mi_heap_t* heap, mi_segments_tld_t* tld); |