Extract postfork-child tcache list relink into tcache_arena_postfork_child

This commit is contained in:
Slobodan Predolac
2026-05-08 10:01:00 -07:00
parent b6cfaa4fe2
commit 54ef51121b
3 changed files with 32 additions and 24 deletions

View File

@@ -73,6 +73,7 @@ void tcaches_destroy(tsd_t *tsd, unsigned ind);
bool tcache_boot(tsdn_t *tsdn, base_t *base);
void tcache_arena_associate(
tsdn_t *tsdn, tcache_slow_t *tcache_slow, tcache_t *tcache, arena_t *arena);
void tcache_arena_postfork_child(tsdn_t *tsdn, arena_t *arena);
void tcache_prefork(tsdn_t *tsdn);
void tcache_postfork_parent(tsdn_t *tsdn);
void tcache_postfork_child(tsdn_t *tsdn);