| commit | 962463d9b57bcc65de2fa108a691b4183b9b2faf | [log] [tgz] |
|---|---|---|
| author | Jason Evans <je@fb.com> | Mon Feb 13 12:29:49 2012 -0800 |
| committer | Jason Evans <je@fb.com> | Mon Feb 13 12:29:49 2012 -0800 |
| tree | d9d5d6117b764f9017cd6595f33a11990475f2aa | |
| parent | 4162627757889ea999264c2ddbc3c354768774e2 [diff] |
Streamline tcache-related malloc/free fast paths. tcache_get() is inlined, so do the config_tcache check inside tcache_get() and simplify its callers. Make arena_malloc() an inline function, since it is part of the malloc() fast path. Remove conditional logic that cause build issues if --disable-tcache was specified.