mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-08-24 16:13:38 +03:00
PA: Move in arena extent_sn counter.
Just another step towards making PA self-contained.
This commit is contained in:
parent
1ada4aef84
commit
ce8c0d6c09
7 changed files with 19 additions and 22 deletions
|
|
@ -155,9 +155,9 @@ extent_alloc_dss(tsdn_t *tsdn, arena_t *arena, void *new_addr, size_t size,
|
|||
if (gap_size_page != 0) {
|
||||
edata_init(gap, arena_ind_get(arena),
|
||||
gap_addr_page, gap_size_page, false,
|
||||
SC_NSIZES, arena_extent_sn_next(arena),
|
||||
extent_state_active, false, true, true,
|
||||
EXTENT_NOT_HEAD);
|
||||
SC_NSIZES, pa_shard_extent_sn_next(
|
||||
&arena->pa_shard), extent_state_active,
|
||||
false, true, true, EXTENT_NOT_HEAD);
|
||||
}
|
||||
/*
|
||||
* Compute the address just past the end of the desired
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue