mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-06-23 12:25:50 +03:00
Tell edatas their creation arena immediately.
This avoids having to pass it in anywhere else.
This commit is contained in:
parent
7c7b702064
commit
040eac77cc
4 changed files with 5 additions and 4 deletions
|
|
@ -1281,7 +1281,7 @@ extent_split_impl(tsdn_t *tsdn, edata_cache_t *edata_cache, ehooks_t *ehooks,
|
|||
emap_split_prepare_t split_prepare;
|
||||
bool err = emap_split_prepare(tsdn, &emap_global, rtree_ctx,
|
||||
&split_prepare, edata, size_a, szind_a, slab_a, trail, size_b,
|
||||
szind_b, slab_b, ehooks_ind_get(ehooks));
|
||||
szind_b, slab_b);
|
||||
if (err) {
|
||||
goto label_error_b;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue