Since our clang now supports the tls_model attribute, remove the
workaround for it in jemalloc_FreeBSD.h. Reviewed by: jasone
This commit is contained in:
parent
a0942dd7b2
commit
5948d40700
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=239618
@ -125,7 +125,7 @@ new file mode 100644
|
|||||||
index 0000000..9efab93
|
index 0000000..9efab93
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ b/include/jemalloc/jemalloc_FreeBSD.h
|
+++ b/include/jemalloc/jemalloc_FreeBSD.h
|
||||||
@@ -0,0 +1,80 @@
|
@@ -0,0 +1,76 @@
|
||||||
+/*
|
+/*
|
||||||
+ * Override settings that were generated in jemalloc_defs.h as necessary.
|
+ * Override settings that were generated in jemalloc_defs.h as necessary.
|
||||||
+ */
|
+ */
|
||||||
@ -184,10 +184,6 @@ index 0000000..9efab93
|
|||||||
+#ifndef JEMALLOC_TLS_MODEL
|
+#ifndef JEMALLOC_TLS_MODEL
|
||||||
+# define JEMALLOC_TLS_MODEL /* Default. */
|
+# define JEMALLOC_TLS_MODEL /* Default. */
|
||||||
+#endif
|
+#endif
|
||||||
+#ifdef __clang__
|
|
||||||
+# undef JEMALLOC_TLS_MODEL
|
|
||||||
+# define JEMALLOC_TLS_MODEL /* clang does not support tls_model yet. */
|
|
||||||
+#endif
|
|
||||||
+
|
+
|
||||||
+#define STATIC_PAGE_SHIFT PAGE_SHIFT
|
+#define STATIC_PAGE_SHIFT PAGE_SHIFT
|
||||||
+#define LG_SIZEOF_INT 2
|
+#define LG_SIZEOF_INT 2
|
||||||
|
@ -56,10 +56,6 @@
|
|||||||
#ifndef JEMALLOC_TLS_MODEL
|
#ifndef JEMALLOC_TLS_MODEL
|
||||||
# define JEMALLOC_TLS_MODEL /* Default. */
|
# define JEMALLOC_TLS_MODEL /* Default. */
|
||||||
#endif
|
#endif
|
||||||
#ifdef __clang__
|
|
||||||
# undef JEMALLOC_TLS_MODEL
|
|
||||||
# define JEMALLOC_TLS_MODEL /* clang does not support tls_model yet. */
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define STATIC_PAGE_SHIFT PAGE_SHIFT
|
#define STATIC_PAGE_SHIFT PAGE_SHIFT
|
||||||
#define LG_SIZEOF_INT 2
|
#define LG_SIZEOF_INT 2
|
||||||
|
Loading…
Reference in New Issue
Block a user