PA: Move in decay initialization.

This commit is contained in:
David Goldblatt
2020-03-12 16:06:40 -07:00
committed by David Goldblatt
parent 45671e4a27
commit faec7219b2
3 changed files with 14 additions and 13 deletions

View File

@@ -172,7 +172,8 @@ pa_shard_ehooks_get(pa_shard_t *shard) {
/* Returns true on error. */
bool pa_shard_init(tsdn_t *tsdn, pa_shard_t *shard, base_t *base, unsigned ind,
pa_shard_stats_t *stats, malloc_mutex_t *stats_mtx);
pa_shard_stats_t *stats, malloc_mutex_t *stats_mtx, nstime_t *cur_time,
ssize_t dirty_decay_ms, ssize_t muzzy_decay_ms);
/*
* This does the PA-specific parts of arena reset (i.e. freeing all active
* allocations).