Make single-TU internal helpers static; remove dead hpa_expand/hpa_shrink/pac_reset

This commit is contained in:
Slobodan Predolac 2026-06-08 08:39:02 -07:00
parent 5bc8d6e9e2
commit aae199f40f
10 changed files with 5 additions and 41 deletions

View file

@ -747,16 +747,6 @@ pac_decay_ms_get(pac_t *pac, extent_state_t state) {
return decay_ms_read(decay);
}
void
pac_reset(tsdn_t *tsdn, pac_t *pac) {
/*
* No-op for now; purging is still done at the arena-level. It should
* get moved in here, though.
*/
(void)tsdn;
(void)pac;
}
void
pac_destroy(tsdn_t *tsdn, pac_t *pac) {
assert(ecache_npages_get(&pac->ecache_dirty) == 0);