commit | 86815df9dc7d2418a21c87b3dc9747ab42dea73d | [log] [tgz] |
---|---|---|
author | Jason Evans <jasone@canonware.com> | Sat Mar 13 20:32:56 2010 -0800 |
committer | Jason Evans <jasone@canonware.com> | Sun Mar 14 17:38:09 2010 -0700 |
tree | bdb7b7077b29ba5dc242ad1cef4a51ce11660e45 | |
parent | 1e0a636c11e694b4b157f40198fd463fcfc6c57a [diff] |
Push locks into arena bins. For bin-related allocation, protect data structures with bin locks rather than arena locks. Arena locks remain for run allocation/deallocation and other miscellaneous operations. Restructure statistics counters to maintain per bin allocated/nmalloc/ndalloc, but continue to provide arena-wide statistics via aggregation in the ctl code.