server-skynet-source-3rd-je.../include/jemalloc
Ben Maurer be8e59f5a6 Don't dereference chunk->arena in free() hot path
When you call free() we load chunk->arena even though that
data isn't used on the tcache hot path.

In profiling some FB applications, I found that ~30% of the
dTLB misses in the free() function come from this line. With
4 MB chunks, the arena_chunk_t->map is ~ 32 KB (1024 pages
in the chunk, 4 8 byte pointers in arena_chunk_map_t). This
means there's only a 1/8 chance of the page containing
chunk->arena also comtaining the map bits.
2014-04-05 15:59:08 -07:00
..
internal Don't dereference chunk->arena in free() hot path 2014-04-05 15:59:08 -07:00
jemalloc_defs.h.in Fix name mangling for stress tests. 2014-01-16 17:38:01 -08:00
jemalloc_macros.h.in Fix name mangling issues. 2013-12-13 15:07:43 -08:00
jemalloc_mangle.sh Fix name mangling for stress tests. 2014-01-16 17:38:01 -08:00
jemalloc_protos.h.in Implement the *allocx() API. 2013-12-12 22:35:52 -08:00
jemalloc_rename.sh Fix name mangling for stress tests. 2014-01-16 17:38:01 -08:00
jemalloc.sh Fix name mangling for stress tests. 2014-01-16 17:38:01 -08:00