[process_madvise] Make init lazy so that python tests pass. Reset the pidfd on fork

This commit is contained in:
Slobodan Predolac 2025-07-25 10:14:28 -07:00 committed by Guangli Dai
parent fb52eac372
commit 97d25919c3
4 changed files with 34 additions and 7 deletions

View file

@ -4549,6 +4549,7 @@ jemalloc_postfork_child(void) {
malloc_mutex_postfork_child(tsd_tsdn(tsd), &arenas_lock);
tcache_postfork_child(tsd_tsdn(tsd));
ctl_postfork_child(tsd_tsdn(tsd));
pages_postfork_child();
}
/******************************************************************************/