mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-07-07 11:58:41 +03:00
fix merge error where commit bits in the pagemap were not set
This commit is contained in:
parent
2ce6568af6
commit
99976d6c2b
2 changed files with 4 additions and 3 deletions
|
@ -613,7 +613,7 @@ static inline size_t _mi_page_map_index(const void* p, size_t* sub_idx) {
|
|||
return (u / MI_PAGE_MAP_SUB_COUNT);
|
||||
}
|
||||
|
||||
static inline mi_page_t** _mi_page_map_at(size_t idx) {
|
||||
static inline mi_submap_t _mi_page_map_at(size_t idx) {
|
||||
return mi_atomic_load_ptr_relaxed(mi_page_t*, &_mi_page_map[idx]);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue