mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-08-04 09:30:00 +03:00
Break extent split dependence on arena.
This commit is contained in:
parent
0aa9769fb0
commit
56cc56b692
3 changed files with 19 additions and 18 deletions
|
|
@ -104,7 +104,7 @@ large_ralloc_no_move_shrink(tsdn_t *tsdn, edata_t *edata, size_t usize) {
|
|||
|
||||
/* Split excess pages. */
|
||||
if (diff != 0) {
|
||||
edata_t *trail = extent_split_wrapper(tsdn, arena,
|
||||
edata_t *trail = extent_split_wrapper(tsdn, &arena->edata_cache,
|
||||
ehooks, edata, usize + sz_large_pad, sz_size2index(usize),
|
||||
false, diff, SC_NSIZES, false);
|
||||
if (trail == NULL) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue