Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/jemalloc/include/jemalloc/internal PR/54307: Ri...



details:   https://anonhg.NetBSD.org/src/rev/0e61d0ebe481
branches:  trunk
changeset: 463131:0e61d0ebe481
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Aug 09 08:10:39 2019 +0000

description:
PR/54307: Rin Okuyama: Lots of jemalloc assertions in latest -current

diffstat:

 external/bsd/jemalloc/include/jemalloc/internal/jemalloc_internal_defs.h |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 0f17e30e9a48 -r 0e61d0ebe481 external/bsd/jemalloc/include/jemalloc/internal/jemalloc_internal_defs.h
--- a/external/bsd/jemalloc/include/jemalloc/internal/jemalloc_internal_defs.h  Fri Aug 09 08:05:57 2019 +0000
+++ b/external/bsd/jemalloc/include/jemalloc/internal/jemalloc_internal_defs.h  Fri Aug 09 08:10:39 2019 +0000
@@ -47,9 +47,13 @@
  */
 #ifdef _LP64
 /* XXX: I will take care of this later */
-#define LG_VADDR 48
+# ifdef __alpha__
+#  define LG_VADDR 43  /* bit 42 indicates direct map, 42--63 are same */
+# else
+#  define LG_VADDR 48
+# endif
 #else
-#define LG_VADDR 32
+# define LG_VADDR 32
 #endif
 
 /* Defined if C11 atomics are available. */



Home | Main Index | Thread Index | Old Index