git: 718b13ba6c5d - main - jemalloc: Add FreeBSD's updates to jemalloc_preamble.h.in
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 15 Aug 2025 21:27:35 UTC
The branch main has been updated by imp:
URL: https://cgit.FreeBSD.org/src/commit/?id=718b13ba6c5dad72fa7964b05038b3d462b993b8
commit 718b13ba6c5dad72fa7964b05038b3d462b993b8
Author: Warner Losh <imp@FreeBSD.org>
AuthorDate: 2025-08-15 21:23:30 +0000
Commit: Warner Losh <imp@FreeBSD.org>
CommitDate: 2025-08-15 21:24:32 +0000
jemalloc: Add FreeBSD's updates to jemalloc_preamble.h.in
jemalloc_preample.h is generated, and FreeBSD has made some changes
which we update using configure, etc on version updates.
No functional change.
Sponsored by: Netflix
---
.../jemalloc/include/jemalloc/internal/jemalloc_preamble.h.in | 11 ++++-------
1 file changed, 4 insertions(+), 7 deletions(-)
diff --git a/contrib/jemalloc/include/jemalloc/internal/jemalloc_preamble.h.in b/contrib/jemalloc/include/jemalloc/internal/jemalloc_preamble.h.in
index 3418cbfa2609..53e30dc4b59b 100644
--- a/contrib/jemalloc/include/jemalloc/internal/jemalloc_preamble.h.in
+++ b/contrib/jemalloc/include/jemalloc/internal/jemalloc_preamble.h.in
@@ -8,6 +8,9 @@
#include <sys/ktrace.h>
#endif
+#include "un-namespace.h"
+#include "libc_private.h"
+
#define JEMALLOC_NO_DEMANGLE
#ifdef JEMALLOC_JET
# undef JEMALLOC_IS_MALLOC
@@ -79,13 +82,7 @@ static const bool config_fill =
false
#endif
;
-static const bool config_lazy_lock =
-#ifdef JEMALLOC_LAZY_LOCK
- true
-#else
- false
-#endif
- ;
+static const bool config_lazy_lock = true;
static const char * const config_malloc_conf = JEMALLOC_CONFIG_MALLOC_CONF;
static const bool config_prof =
#ifdef JEMALLOC_PROF