diff options
author | David Goldblatt <davidgoldblatt@fb.com> | 2017-04-19 22:09:01 (GMT) |
---|---|---|
committer | David Goldblatt <davidtgoldblatt@gmail.com> | 2017-04-24 17:33:21 (GMT) |
commit | 31b43219dbf397f273350a66a3a594fdfbaa1e00 (patch) | |
tree | bef891e052828bcf33bcd617ec9882806fb0e547 /include | |
parent | 68da2361d2cbb4cc34a784093bd2bee94bede543 (diff) | |
download | jemalloc-31b43219dbf397f273350a66a3a594fdfbaa1e00.zip jemalloc-31b43219dbf397f273350a66a3a594fdfbaa1e00.tar.gz jemalloc-31b43219dbf397f273350a66a3a594fdfbaa1e00.tar.bz2 |
Header refactoring: size_classes module - remove from the catchall
Diffstat (limited to 'include')
-rw-r--r-- | include/jemalloc/internal/arena_externs.h | 2 | ||||
-rw-r--r-- | include/jemalloc/internal/arena_inlines_b.h | 1 | ||||
-rw-r--r-- | include/jemalloc/internal/arena_structs_b.h | 2 | ||||
-rw-r--r-- | include/jemalloc/internal/base_structs.h | 3 | ||||
-rw-r--r-- | include/jemalloc/internal/bitmap_types.h | 2 | ||||
-rw-r--r-- | include/jemalloc/internal/ctl_structs.h | 2 | ||||
-rw-r--r-- | include/jemalloc/internal/extent_structs.h | 1 | ||||
-rw-r--r-- | include/jemalloc/internal/jemalloc_internal_includes.h | 1 | ||||
-rw-r--r-- | include/jemalloc/internal/jemalloc_internal_inlines_a.h | 1 | ||||
-rw-r--r-- | include/jemalloc/internal/rtree_inlines.h | 1 | ||||
-rw-r--r-- | include/jemalloc/internal/rtree_types.h | 2 | ||||
-rw-r--r-- | include/jemalloc/internal/stats_structs.h | 1 | ||||
-rw-r--r-- | include/jemalloc/internal/tcache_externs.h | 2 | ||||
-rw-r--r-- | include/jemalloc/internal/tcache_inlines.h | 1 | ||||
-rw-r--r-- | include/jemalloc/internal/tcache_structs.h | 1 | ||||
-rw-r--r-- | include/jemalloc/internal/tcache_types.h | 2 |
16 files changed, 24 insertions, 1 deletions
diff --git a/include/jemalloc/internal/arena_externs.h b/include/jemalloc/internal/arena_externs.h index 0f86dc0..241165e 100644 --- a/include/jemalloc/internal/arena_externs.h +++ b/include/jemalloc/internal/arena_externs.h @@ -1,6 +1,8 @@ #ifndef JEMALLOC_INTERNAL_ARENA_EXTERNS_H #define JEMALLOC_INTERNAL_ARENA_EXTERNS_H +#include "jemalloc/internal/size_classes.h" + static const size_t large_pad = #ifdef JEMALLOC_CACHE_OBLIVIOUS PAGE diff --git a/include/jemalloc/internal/arena_inlines_b.h b/include/jemalloc/internal/arena_inlines_b.h index 054757d..ca7af7f 100644 --- a/include/jemalloc/internal/arena_inlines_b.h +++ b/include/jemalloc/internal/arena_inlines_b.h @@ -2,6 +2,7 @@ #define JEMALLOC_INTERNAL_ARENA_INLINES_B_H #include "jemalloc/internal/jemalloc_internal_types.h" +#include "jemalloc/internal/size_classes.h" #include "jemalloc/internal/ticker.h" static inline szind_t diff --git a/include/jemalloc/internal/arena_structs_b.h b/include/jemalloc/internal/arena_structs_b.h index 7b133f2..dbff787 100644 --- a/include/jemalloc/internal/arena_structs_b.h +++ b/include/jemalloc/internal/arena_structs_b.h @@ -2,8 +2,10 @@ #define JEMALLOC_INTERNAL_ARENA_STRUCTS_B_H #include "jemalloc/internal/atomic.h" +#include "jemalloc/internal/jemalloc_internal_types.h" #include "jemalloc/internal/nstime.h" #include "jemalloc/internal/ql.h" +#include "jemalloc/internal/size_classes.h" #include "jemalloc/internal/ticker.h" /* diff --git a/include/jemalloc/internal/base_structs.h b/include/jemalloc/internal/base_structs.h index d79f38e..1d0a1f3 100644 --- a/include/jemalloc/internal/base_structs.h +++ b/include/jemalloc/internal/base_structs.h @@ -1,6 +1,9 @@ #ifndef JEMALLOC_INTERNAL_BASE_STRUCTS_H #define JEMALLOC_INTERNAL_BASE_STRUCTS_H +#include "jemalloc/internal/jemalloc_internal_types.h" +#include "jemalloc/internal/size_classes.h" + /* Embedded at the beginning of every block of base-managed virtual memory. */ struct base_block_s { /* Total size of block's virtual memory mapping. */ diff --git a/include/jemalloc/internal/bitmap_types.h b/include/jemalloc/internal/bitmap_types.h index b334769..95f0dd1 100644 --- a/include/jemalloc/internal/bitmap_types.h +++ b/include/jemalloc/internal/bitmap_types.h @@ -1,6 +1,8 @@ #ifndef JEMALLOC_INTERNAL_BITMAP_TYPES_H #define JEMALLOC_INTERNAL_BITMAP_TYPES_H +#include "jemalloc/internal/size_classes.h" + /* Maximum bitmap bit count is 2^LG_BITMAP_MAXBITS. */ #if LG_SLAB_MAXREGS > LG_CEIL_NSIZES /* Maximum bitmap bit count is determined by maximum regions per slab. */ diff --git a/include/jemalloc/internal/ctl_structs.h b/include/jemalloc/internal/ctl_structs.h index 2b48a68..b0c37c9 100644 --- a/include/jemalloc/internal/ctl_structs.h +++ b/include/jemalloc/internal/ctl_structs.h @@ -1,7 +1,9 @@ #ifndef JEMALLOC_INTERNAL_CTL_STRUCTS_H #define JEMALLOC_INTERNAL_CTL_STRUCTS_H +#include "jemalloc/internal/jemalloc_internal_types.h" #include "jemalloc/internal/ql.h" +#include "jemalloc/internal/size_classes.h" struct ctl_node_s { bool named; diff --git a/include/jemalloc/internal/extent_structs.h b/include/jemalloc/internal/extent_structs.h index 7066b8f..aa0a3a7 100644 --- a/include/jemalloc/internal/extent_structs.h +++ b/include/jemalloc/internal/extent_structs.h @@ -5,6 +5,7 @@ #include "jemalloc/internal/ql.h" #include "jemalloc/internal/rb.h" #include "jemalloc/internal/ph.h" +#include "jemalloc/internal/size_classes.h" typedef enum { extent_state_active = 0, diff --git a/include/jemalloc/internal/jemalloc_internal_includes.h b/include/jemalloc/internal/jemalloc_internal_includes.h index f4a1986..3794c34 100644 --- a/include/jemalloc/internal/jemalloc_internal_includes.h +++ b/include/jemalloc/internal/jemalloc_internal_includes.h @@ -40,7 +40,6 @@ /* TYPES */ /******************************************************************************/ -#include "jemalloc/internal/size_classes.h" #include "jemalloc/internal/smoothstep.h" #include "jemalloc/internal/stats_types.h" #include "jemalloc/internal/ctl_types.h" diff --git a/include/jemalloc/internal/jemalloc_internal_inlines_a.h b/include/jemalloc/internal/jemalloc_internal_inlines_a.h index 06a5c71..1755c3a 100644 --- a/include/jemalloc/internal/jemalloc_internal_inlines_a.h +++ b/include/jemalloc/internal/jemalloc_internal_inlines_a.h @@ -4,6 +4,7 @@ #include "jemalloc/internal/atomic.h" #include "jemalloc/internal/bit_util.h" #include "jemalloc/internal/jemalloc_internal_types.h" +#include "jemalloc/internal/size_classes.h" #include "jemalloc/internal/ticker.h" JEMALLOC_ALWAYS_INLINE pszind_t diff --git a/include/jemalloc/internal/rtree_inlines.h b/include/jemalloc/internal/rtree_inlines.h index f4f7c2c..7bc5238 100644 --- a/include/jemalloc/internal/rtree_inlines.h +++ b/include/jemalloc/internal/rtree_inlines.h @@ -1,6 +1,7 @@ #ifndef JEMALLOC_INTERNAL_RTREE_INLINES_H #define JEMALLOC_INTERNAL_RTREE_INLINES_H +#include "jemalloc/internal/size_classes.h" #include "jemalloc/internal/spin.h" JEMALLOC_ALWAYS_INLINE uintptr_t diff --git a/include/jemalloc/internal/rtree_types.h b/include/jemalloc/internal/rtree_types.h index d9a4cf4..402f741 100644 --- a/include/jemalloc/internal/rtree_types.h +++ b/include/jemalloc/internal/rtree_types.h @@ -1,6 +1,8 @@ #ifndef JEMALLOC_INTERNAL_RTREE_TYPES_H #define JEMALLOC_INTERNAL_RTREE_TYPES_H +#include "jemalloc/internal/size_classes.h" + /* * This radix tree implementation is tailored to the singular purpose of * associating metadata with extents that are currently owned by jemalloc. diff --git a/include/jemalloc/internal/stats_structs.h b/include/jemalloc/internal/stats_structs.h index dc994b5..3693a85 100644 --- a/include/jemalloc/internal/stats_structs.h +++ b/include/jemalloc/internal/stats_structs.h @@ -2,6 +2,7 @@ #define JEMALLOC_INTERNAL_STATS_STRUCTS_H #include "jemalloc/internal/atomic.h" +#include "jemalloc/internal/size_classes.h" #ifdef JEMALLOC_ATOMIC_U64 typedef atomic_u64_t arena_stats_u64_t; diff --git a/include/jemalloc/internal/tcache_externs.h b/include/jemalloc/internal/tcache_externs.h index 75ff321..abe133f 100644 --- a/include/jemalloc/internal/tcache_externs.h +++ b/include/jemalloc/internal/tcache_externs.h @@ -1,6 +1,8 @@ #ifndef JEMALLOC_INTERNAL_TCACHE_EXTERNS_H #define JEMALLOC_INTERNAL_TCACHE_EXTERNS_H +#include "jemalloc/internal/size_classes.h" + extern bool opt_tcache; extern ssize_t opt_lg_tcache_max; diff --git a/include/jemalloc/internal/tcache_inlines.h b/include/jemalloc/internal/tcache_inlines.h index 25931d8..8a65ba2 100644 --- a/include/jemalloc/internal/tcache_inlines.h +++ b/include/jemalloc/internal/tcache_inlines.h @@ -2,6 +2,7 @@ #define JEMALLOC_INTERNAL_TCACHE_INLINES_H #include "jemalloc/internal/jemalloc_internal_types.h" +#include "jemalloc/internal/size_classes.h" #include "jemalloc/internal/ticker.h" #include "jemalloc/internal/util.h" diff --git a/include/jemalloc/internal/tcache_structs.h b/include/jemalloc/internal/tcache_structs.h index c01098f..cd0cea5 100644 --- a/include/jemalloc/internal/tcache_structs.h +++ b/include/jemalloc/internal/tcache_structs.h @@ -2,6 +2,7 @@ #define JEMALLOC_INTERNAL_TCACHE_STRUCTS_H #include "jemalloc/internal/ql.h" +#include "jemalloc/internal/size_classes.h" #include "jemalloc/internal/ticker.h" /* diff --git a/include/jemalloc/internal/tcache_types.h b/include/jemalloc/internal/tcache_types.h index a60db6f..1155d62 100644 --- a/include/jemalloc/internal/tcache_types.h +++ b/include/jemalloc/internal/tcache_types.h @@ -1,6 +1,8 @@ #ifndef JEMALLOC_INTERNAL_TCACHE_TYPES_H #define JEMALLOC_INTERNAL_TCACHE_TYPES_H +#include "jemalloc/internal/size_classes.h" + typedef struct tcache_bin_info_s tcache_bin_info_t; typedef struct tcache_bin_s tcache_bin_t; typedef struct tcache_s tcache_t; |