mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-08-13 19:20:58 +03:00
Emap: Move edata modification out of emap_remap.
This commit is contained in:
parent
12eb888e54
commit
dfef0df71a
4 changed files with 6 additions and 3 deletions
|
|
@ -206,7 +206,6 @@ void emap_remap(tsdn_t *tsdn, emap_t *emap, edata_t *edata, szind_t szind,
|
|||
bool slab) {
|
||||
EMAP_DECLARE_RTREE_CTX;
|
||||
|
||||
edata_szind_set(edata, szind);
|
||||
if (szind != SC_NSIZES) {
|
||||
rtree_szind_slab_update(tsdn, &emap->rtree, rtree_ctx,
|
||||
(uintptr_t)edata_addr_get(edata), szind, slab);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue