mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-05-14 08:56:20 +03:00
Rename edata_tree_t -> edata_avail_t.
This isn't a tree any more, and it mildly irritates me any time I see it.
This commit is contained in:
parent
95f0a77fde
commit
b4c37a6e81
3 changed files with 4 additions and 4 deletions
|
|
@ -69,7 +69,7 @@ struct edata_map_info_s {
|
|||
|
||||
/* Extent (span of pages). Use accessor functions for e_* fields. */
|
||||
typedef struct edata_s edata_t;
|
||||
typedef ph(edata_t) edata_tree_t;
|
||||
typedef ph(edata_t) edata_avail_t;
|
||||
typedef ph(edata_t) edata_heap_t;
|
||||
typedef ph(edata_t) edata_age_heap_t;
|
||||
struct edata_s {
|
||||
|
|
@ -723,7 +723,7 @@ edata_age_comp(const edata_t *a, const edata_t *b) {
|
|||
return edata_snad_comp(a, b);
|
||||
}
|
||||
|
||||
ph_proto(, edata_avail_, edata_tree_t, edata_t)
|
||||
ph_proto(, edata_avail_, edata_avail_t, edata_t)
|
||||
ph_proto(, edata_heap_, edata_heap_t, edata_t)
|
||||
ph_proto(, edata_age_heap_, edata_age_heap_t, edata_t);
|
||||
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@
|
|||
|
||||
typedef struct edata_cache_s edata_cache_t;
|
||||
struct edata_cache_s {
|
||||
edata_tree_t avail;
|
||||
edata_avail_t avail;
|
||||
atomic_zu_t count;
|
||||
malloc_mutex_t mtx;
|
||||
base_t *base;
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
#include "jemalloc/internal/jemalloc_preamble.h"
|
||||
#include "jemalloc/internal/jemalloc_internal_includes.h"
|
||||
|
||||
ph_gen(, edata_avail_, edata_tree_t, edata_t, ph_link,
|
||||
ph_gen(, edata_avail_, edata_avail_t, edata_t, ph_link,
|
||||
edata_esnead_comp)
|
||||
ph_gen(, edata_heap_, edata_heap_t, edata_t, ph_link, edata_snad_comp)
|
||||
ph_gen(, edata_age_heap_, edata_age_heap_t, edata_t, ph_link, edata_age_comp)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue