commit | a3b3386ddde8048b9d6b54c397bb93da5e806cef | [log] [tgz] |
---|---|---|
author | Jason Evans <je@fb.com> | Tue Nov 13 12:56:27 2012 -0800 |
committer | Jason Evans <je@fb.com> | Tue Nov 13 13:47:53 2012 -0800 |
tree | 3c5e10d49e9eb914af8e1edcab69fbda1f8d4d0c | |
parent | 556ddc7fa94f13c388ec6c9d2d54ace250540f2c [diff] |
Avoid arena_prof_accum()-related locking when possible. Refactor arena_prof_accum() and its callers to avoid arena locking when prof_interval is 0 (as when profiling is disabled). Reported by Ben Maurer.