summaryrefslogtreecommitdiff
path: root/include/jemalloc/internal/base_structs.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/jemalloc/internal/base_structs.h')
-rw-r--r--include/jemalloc/internal/base_structs.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/include/jemalloc/internal/base_structs.h b/include/jemalloc/internal/base_structs.h
index 13d5bd46..d79f38ee 100644
--- a/include/jemalloc/internal/base_structs.h
+++ b/include/jemalloc/internal/base_structs.h
@@ -21,11 +21,18 @@ struct base_s {
* User-configurable extent hook functions. Points to an
* extent_hooks_t.
*/
- atomic_p_t extent_hooks;
+ atomic_p_t extent_hooks;
/* Protects base_alloc() and base_stats_get() operations. */
malloc_mutex_t mtx;
+ /*
+ * Most recent size class in the series of increasingly large base
+ * extents. Logarithmic spacing between subsequent allocations ensures
+ * that the total number of distinct mappings remains small.
+ */
+ pszind_t pind_last;
+
/* Serial number generation state. */
size_t extent_sn_next;