Module Name:    src
Committed By:   rin
Date:           Wed Dec 16 01:20:19 UTC 2020

Modified Files:
        src/external/bsd/jemalloc/include/jemalloc/internal:
            jemalloc_internal_defs.h

Log Message:
Correct and extend comments on VA for alpha. No binary changes.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 \
    src/external/bsd/jemalloc/include/jemalloc/internal/jemalloc_internal_defs.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/jemalloc/include/jemalloc/internal/jemalloc_internal_defs.h
diff -u src/external/bsd/jemalloc/include/jemalloc/internal/jemalloc_internal_defs.h:1.13 src/external/bsd/jemalloc/include/jemalloc/internal/jemalloc_internal_defs.h:1.14
--- src/external/bsd/jemalloc/include/jemalloc/internal/jemalloc_internal_defs.h:1.13	Thu Jun  4 00:45:32 2020
+++ src/external/bsd/jemalloc/include/jemalloc/internal/jemalloc_internal_defs.h	Wed Dec 16 01:20:19 2020
@@ -48,7 +48,14 @@
 #ifdef _LP64
 /* XXX: I will take care of this later */
 # ifdef __alpha__
-#  define LG_VADDR 43	/* bit 42 indicates direct map, 42--63 are same */
+/*
+ * Bit 42 indicates kernel space. Bits 42--63 must be same. For user space,
+ * VA can be regarded to have 43 significant bits with sign-extension to
+ * 64 bits. ``Negative'' addresses are not used in this case. Alternatively,
+ * VA can also be regarded to have 42 significant bits with zero-extension.
+ * See rtree_leaf_elm_bits_extent_get() in rtree.h for more details.
+ */
+#  define LG_VADDR 43
 # else
 #  define LG_VADDR 48
 # endif

Reply via email to