commit | fc4dcfa2f546354dd536a3a33aa9f10fd3253731 | [log] [tgz] |
---|---|---|
author | Jason Evans <je@facebook.com> | Wed Nov 24 15:44:21 2010 -0800 |
committer | Jason Evans <je@facebook.com> | Wed Nov 24 15:44:21 2010 -0800 |
tree | 6cce45645b86a94a7833d8e63fd68cc3dfc8ed9a | |
parent | 1f17bd93954d6744fb1667d51d20a2877f2e0737 [diff] |
Push down ctl_mtx. Many mallctl*() end points require no locking, so push the locking down to just the functions that need it. This is of particular import for "thread.allocated" and "thread.deallocated", which are intended as a low-overhead way to introspect per thread allocation activity.