mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-10 07:47:26 +03:00
TSD: Move in some of the tcache fields.
We had put these in the tcache for cache optimization reasons. After the previous diff, these no longer apply.
This commit is contained in:
parent
58a00df238
commit
40e7aed59e
4 changed files with 16 additions and 17 deletions
|
|
@ -7,9 +7,6 @@
|
|||
#include "jemalloc/internal/ticker.h"
|
||||
#include "jemalloc/internal/tsd_types.h"
|
||||
|
||||
/* Various uses of this struct need it to be a named type. */
|
||||
typedef ql_elm(tsd_t) tsd_link_t;
|
||||
|
||||
struct tcache_s {
|
||||
/*
|
||||
* To minimize our cache-footprint, we put the frequently accessed data
|
||||
|
|
@ -30,10 +27,6 @@ struct tcache_s {
|
|||
/* Lets us track all the tcaches in an arena. */
|
||||
ql_elm(tcache_t) link;
|
||||
|
||||
/* Logically scoped to tsd, but put here for cache layout reasons. */
|
||||
ql_elm(tsd_t) tsd_link;
|
||||
bool in_hook;
|
||||
|
||||
/*
|
||||
* The descriptor lets the arena find our cache bins without seeing the
|
||||
* tcache definition. This enables arenas to aggregate stats across
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue