commit | 4e2e3dd9cf19ed5991938a708a8b50611aa5bbf8 | [log] [tgz] |
---|---|---|
author | Jason Evans <je@fb.com> | Tue Mar 13 16:31:41 2012 -0700 |
committer | Jason Evans <je@fb.com> | Tue Mar 13 16:31:41 2012 -0700 |
tree | 0bd52cef3ce19d84725e6018a5b41bc6cdb8de2a | |
parent | 824d34e5b7f5cf00bf472ec79f7ec1c6e3474114 [diff] |
Fix fork-related bugs. Acquire/release arena bin locks as part of the prefork/postfork. This bug made deadlock in the child between fork and exec a possibility. Split jemalloc_postfork() into jemalloc_postfork_{parent,child}() so that the child can reinitialize mutexes rather than unlocking them. In practice, this bug tended not to cause problems.