[PATCH 1/2] Delay pthread_atfork registering.
Jason Evans
jasone at canonware.com
Thu Oct 24 16:44:32 PDT 2013
On Oct 23, 2013, at 1:00 PM, Jason Evans <jasone at canonware.com> wrote:
> On Oct 23, 2013, at 9:20 AM, Leonard Crestez <lcrestez at ixiacom.com> wrote:
>> You mean between the "malloc_initialized = true;" and "malloc_mutex_unlock(&init_lock);"?
>
> Yes.
I got to looking closer at this change, and realized that the pthead_atfork() call really needs to be adjacent to the malloc_ncpus() call.
Merged: https://github.com/jemalloc/jemalloc/commit/ac4403cacb225c0cf2c926179af39c21bd7bfc3a
Thanks,
Jason
More information about the jemalloc-discuss
mailing list