edata_cache: Remember the associated base_t.

This will save us some trouble down the line when we stop passing arena pointers
everywhere; we won't have to pass around a base_t pointer either.
This commit is contained in:
David Goldblatt 2019-12-12 18:28:37 -08:00 committed by David Goldblatt
parent ae23e5f426
commit c792f3e4ab
5 changed files with 20 additions and 16 deletions

View file

@ -123,7 +123,7 @@ extent_alloc_dss(tsdn_t *tsdn, arena_t *arena, void *new_addr, size_t size,
return NULL;
}
gap = edata_cache_get(tsdn, &arena->edata_cache, arena->base);
gap = edata_cache_get(tsdn, &arena->edata_cache);
if (gap == NULL) {
return NULL;
}