commit | 5033a9176ac9489805a387c040008b088cf15bda | [log] [tgz] |
---|---|---|
author | Jason Evans <jasone@canonware.com> | Sun Jan 29 21:51:30 2017 -0800 |
committer | Jason Evans <jasone@canonware.com> | Wed Feb 01 16:43:46 2017 -0800 |
tree | 89d8b0669066b69566b83191b6925cff7d63dd92 | |
parent | 397f54aa460593295139e94c81e8f5b2152a088f [diff] |
Call prof_gctx_create() without owing bt2gctx_mtx. This reduces the probability of allocating (and thereby indirectly making a system call) while owning bt2gctx_mtx. Unfortunately it is an incomplete solution, because ckh insertion/deletion can also allocate/deallocate, which requires more extensive changes to address.