tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: child of a multithreaded process looping in malloc()



Oh well.

> It effectively does -- the calls to _malloc_prefork/postfork(_child)
> are baked into fork in NetBSD's libc:
It does in -current, but the problem shows up in -8.
I'll try to back-port the changes.

Am I right that I'll need the changes of malloc.c 1.60, jemalloc.c 1.53 
(and 1.48), extern.h 1.26 and pthread_atfork.c 1.15? Did I miss something?

Thanks for the hint. I grep'd for pthread_atfork in -current's jemalloc.c, 
but, of course, that didn't reveal anything.


Home | Main Index | Thread Index | Old Index