summaryrefslogtreecommitdiffstats
path: root/include/jemalloc
diff options
context:
space:
mode:
authorJason Evans <jasone@canonware.com>2017-04-21 22:35:54 (GMT)
committerJason Evans <jasone@canonware.com>2017-04-24 18:48:28 (GMT)
commitaf76f0e5d28cd6f0ce8e6c8c6a2a78ba4089868a (patch)
treeb270d09f016a6845b0acb26c4e9fefbcce1554fc /include/jemalloc
parentb54530020fb31b47376a0248aa3b73a51e9a5927 (diff)
downloadjemalloc-af76f0e5d28cd6f0ce8e6c8c6a2a78ba4089868a.zip
jemalloc-af76f0e5d28cd6f0ce8e6c8c6a2a78ba4089868a.tar.gz
jemalloc-af76f0e5d28cd6f0ce8e6c8c6a2a78ba4089868a.tar.bz2
Remove --with-lg-tiny-min.
This option isn't useful in practice. This partially resolves #580.
Diffstat (limited to 'include/jemalloc')
-rw-r--r--include/jemalloc/internal/jemalloc_internal_defs.h.in3
-rwxr-xr-xinclude/jemalloc/internal/size_classes.sh2
2 files changed, 2 insertions, 3 deletions
diff --git a/include/jemalloc/internal/jemalloc_internal_defs.h.in b/include/jemalloc/internal/jemalloc_internal_defs.h.in
index 1bec2c9..7e83e7b 100644
--- a/include/jemalloc/internal/jemalloc_internal_defs.h.in
+++ b/include/jemalloc/internal/jemalloc_internal_defs.h.in
@@ -172,9 +172,6 @@
/* Support lazy locking (avoid locking unless a second thread is launched). */
#undef JEMALLOC_LAZY_LOCK
-/* Minimum size class to support is 2^LG_TINY_MIN bytes. */
-#undef LG_TINY_MIN
-
/*
* Minimum allocation alignment is 2^LG_QUANTUM bytes (ignoring tiny size
* classes).
diff --git a/include/jemalloc/internal/size_classes.sh b/include/jemalloc/internal/size_classes.sh
index da1e006..dd562db 100755
--- a/include/jemalloc/internal/size_classes.sh
+++ b/include/jemalloc/internal/size_classes.sh
@@ -285,6 +285,7 @@ cat <<EOF
* This header file defines:
*
* LG_SIZE_CLASS_GROUP: Lg of size class count for each size doubling.
+ * LG_TINY_MIN: Lg of minimum size class to support.
* SIZE_CLASSES: Complete table of SC(index, lg_grp, lg_delta, ndelta, psz,
* bin, pgs, lg_delta_lookup) tuples.
* index: Size class index.
@@ -310,6 +311,7 @@ cat <<EOF
*/
#define LG_SIZE_CLASS_GROUP ${lg_g}
+#define LG_TINY_MIN ${lg_tmin}
EOF