commit | 203484e2ea267e068a68fd2922263f0ff1d5ac6f | [log] [tgz] |
---|---|---|
author | Jason Evans <je@fb.com> | Wed May 02 00:30:36 2012 -0700 |
committer | Jason Evans <je@fb.com> | Wed May 02 00:30:36 2012 -0700 |
tree | 9b3b566014cfe9d471c017267808c4722821eebc | |
parent | fd97b1dfc76647c3f90f28dc63cc987041fe20df [diff] |
Optimize malloc() and free() fast paths. Embed the bin index for small page runs into the chunk page map, in order to omit [...] in the following dependent load sequence: ptr-->mapelm-->[run-->bin-->]bin_info Move various non-critcal code out of the inlined function chain into helper functions (tcache_event_hard(), arena_dalloc_small(), and locking).