Account for the fact that jemalloc 5.0.0 dropped STATIC_PAGE_SHIFT
in favor for using LG_PAGE directly and, thus, for the fact that host and target don't necessarily use pages of the same sizes. Approved by: jasone
This commit is contained in:
parent
88d786f3f2
commit
f8d48bcc9e
@ -153,7 +153,7 @@ index 00000000..355b565c
|
||||
+ * each supported architecture.
|
||||
+ */
|
||||
+#undef JEMALLOC_TLS_MODEL
|
||||
+#undef STATIC_PAGE_SHIFT
|
||||
+#undef LG_PAGE
|
||||
+#undef LG_VADDR
|
||||
+#undef LG_SIZEOF_PTR
|
||||
+#undef LG_SIZEOF_INT
|
||||
@ -212,7 +212,7 @@ index 00000000..355b565c
|
||||
+# define JEMALLOC_TLS_MODEL /* Default. */
|
||||
+#endif
|
||||
+
|
||||
+#define STATIC_PAGE_SHIFT PAGE_SHIFT
|
||||
+#define LG_PAGE PAGE_SHIFT
|
||||
+#define LG_SIZEOF_INT 2
|
||||
+#define LG_SIZEOF_LONG LG_SIZEOF_PTR
|
||||
+#define LG_SIZEOF_INTMAX_T 3
|
||||
|
@ -17,7 +17,7 @@
|
||||
* each supported architecture.
|
||||
*/
|
||||
#undef JEMALLOC_TLS_MODEL
|
||||
#undef STATIC_PAGE_SHIFT
|
||||
#undef LG_PAGE
|
||||
#undef LG_VADDR
|
||||
#undef LG_SIZEOF_PTR
|
||||
#undef LG_SIZEOF_INT
|
||||
@ -76,7 +76,7 @@
|
||||
# define JEMALLOC_TLS_MODEL /* Default. */
|
||||
#endif
|
||||
|
||||
#define STATIC_PAGE_SHIFT PAGE_SHIFT
|
||||
#define LG_PAGE PAGE_SHIFT
|
||||
#define LG_SIZEOF_INT 2
|
||||
#define LG_SIZEOF_LONG LG_SIZEOF_PTR
|
||||
#define LG_SIZEOF_INTMAX_T 3
|
||||
|
Loading…
Reference in New Issue
Block a user