mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-08 23:07:20 +03:00
Make single-TU internal helpers static; remove dead hpa_expand/hpa_shrink/pac_reset
This commit is contained in:
parent
5bc8d6e9e2
commit
aae199f40f
10 changed files with 5 additions and 41 deletions
10
src/pac.c
10
src/pac.c
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue