Store arena index rather than (arena_t *) in extent_t.

This commit is contained in:
Jason Evans
2017-03-24 11:25:43 -07:00
parent 5e12223925
commit 0591c204b4
3 changed files with 5 additions and 5 deletions

View File

@@ -10,8 +10,8 @@ typedef enum {
/* Extent (span of pages). Use accessor functions for e_* fields. */
struct extent_s {
/* Arena from which this extent came, if any. */
arena_t *e_arena;
/* Arena from which this extent came, or UINT_MAX if unassociated. */
unsigned e_arena_ind;
/* Pointer to the extent that this structure is responsible for. */
void *e_addr;