]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/jemalloc/include/jemalloc/internal/extent_types.h
Merge bmake-20180512
[FreeBSD/FreeBSD.git] / contrib / jemalloc / include / jemalloc / internal / extent_types.h
1 #ifndef JEMALLOC_INTERNAL_EXTENT_TYPES_H
2 #define JEMALLOC_INTERNAL_EXTENT_TYPES_H
3
4 typedef struct extent_s extent_t;
5 typedef struct extents_s extents_t;
6
7 #define EXTENT_HOOKS_INITIALIZER        NULL
8
9 #define EXTENT_GROW_MAX_PIND (NPSIZES - 1)
10
11 /*
12  * When reuse (and split) an active extent, (1U << opt_lg_extent_max_active_fit)
13  * is the max ratio between the size of the active extent and the new extent.
14  */
15 #define LG_EXTENT_MAX_ACTIVE_FIT_DEFAULT 6
16
17 #endif /* JEMALLOC_INTERNAL_EXTENT_TYPES_H */