PA -> PAC: Move in destruction functions.
This commit is contained in:
committed by
David Goldblatt
parent
cbf096b05e
commit
6041aaba97
@@ -113,7 +113,7 @@ void pa_shard_reset(pa_shard_t *shard);
|
||||
* decaying all active, dirty, and muzzy extents to the retained state, as the
|
||||
* last step in destroying the shard.
|
||||
*/
|
||||
void pa_shard_destroy_retained(tsdn_t *tsdn, pa_shard_t *shard);
|
||||
void pa_shard_destroy(tsdn_t *tsdn, pa_shard_t *shard);
|
||||
|
||||
/* Gets an edata for the given allocation. */
|
||||
edata_t *pa_alloc(tsdn_t *tsdn, pa_shard_t *shard, size_t size,
|
||||
|
@@ -153,4 +153,8 @@ bool pac_retain_grow_limit_get_set(tsdn_t *tsdn, pac_t *pac, size_t *old_limit,
|
||||
bool pac_decay_ms_set(tsdn_t *tsdn, pac_t *pac, extent_state_t state,
|
||||
ssize_t decay_ms, pac_purge_eagerness_t eagerness);
|
||||
ssize_t pac_decay_ms_get(pac_t *pac, extent_state_t state);
|
||||
|
||||
void pac_reset(tsdn_t *tsdn, pac_t *pac);
|
||||
void pac_destroy(tsdn_t *tsdn, pac_t *pac);
|
||||
|
||||
#endif /* JEMALLOC_INTERNAL_PAC_H */
|
||||
|
Reference in New Issue
Block a user