Move delay_coalesce from the eset to the ecache.

This commit is contained in:
David Goldblatt 2019-12-12 16:33:19 -08:00 committed by David Goldblatt
parent bb70df8e5b
commit 98eb40e563
5 changed files with 22 additions and 22 deletions

View file

@ -8,6 +8,11 @@ typedef struct ecache_s ecache_t;
struct ecache_s {
malloc_mutex_t mtx;
eset_t eset;
/*
* If true, delay coalescing until eviction; otherwise coalesce during
* deallocation.
*/
bool delay_coalesce;
};
typedef struct ecache_grow_s ecache_grow_t;