mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-08-25 16:43:33 +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
1
src/pa.c
1
src/pa.c
|
|
@ -185,6 +185,7 @@ pa_expand(tsdn_t *tsdn, pa_shard_t *shard, edata_t *edata, size_t old_size,
|
|||
ATOMIC_RELAXED);
|
||||
}
|
||||
pa_nactive_add(shard, expand_amount >> LG_PAGE);
|
||||
edata_szind_set(edata, szind);
|
||||
emap_remap(tsdn, &emap_global, edata, szind, slab);
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue