summaryrefslogtreecommitdiff
path: root/deps/jemalloc/include/jemalloc/internal/extent_types.h
blob: c0561d99f8f5ba878b6b0c672a733f9b50d34768 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef JEMALLOC_INTERNAL_EXTENT_TYPES_H
#define JEMALLOC_INTERNAL_EXTENT_TYPES_H

typedef struct extent_s extent_t;
typedef struct extents_s extents_t;

#define EXTENT_HOOKS_INITIALIZER	NULL

#define EXTENT_GROW_MAX_PIND (NPSIZES - 1)

/*
 * When reuse (and split) an active extent, (1U << opt_lg_extent_max_active_fit)
 * is the max ratio between the size of the active extent and the new extent.
 */
#define LG_EXTENT_MAX_ACTIVE_FIT_DEFAULT 6

#endif /* JEMALLOC_INTERNAL_EXTENT_TYPES_H */