Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F166831802
D5020.id12559.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
917 B
Referenced Files
None
Subscribers
None
D5020.id12559.diff
View Options
Index: contrib/jemalloc/include/jemalloc/internal/jemalloc_internal.h
===================================================================
--- contrib/jemalloc/include/jemalloc/internal/jemalloc_internal.h
+++ contrib/jemalloc/include/jemalloc/internal/jemalloc_internal.h
@@ -253,6 +253,9 @@
# ifdef __powerpc__
# define LG_QUANTUM 4
# endif
+# ifdef __riscv__
+# define LG_QUANTUM 4
+# endif
# ifdef __s390__
# define LG_QUANTUM 4
# endif
Index: contrib/jemalloc/include/jemalloc/jemalloc_FreeBSD.h
===================================================================
--- contrib/jemalloc/include/jemalloc/jemalloc_FreeBSD.h
+++ contrib/jemalloc/include/jemalloc/jemalloc_FreeBSD.h
@@ -52,6 +52,9 @@
#elif defined(__powerpc__)
# define LG_SIZEOF_PTR 2
#endif
+#ifdef __riscv__
+# define LG_SIZEOF_PTR 3
+#endif
#ifndef JEMALLOC_TLS_MODEL
# define JEMALLOC_TLS_MODEL /* Default. */
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Aug 17, 9:50 PM (1 h, 16 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
36876658
Default Alt Text
D5020.id12559.diff (917 B)
Attached To
Mode
D5020: jemalloc: support for RISC-V
Attached
Detach File
Event Timeline
Log In to Comment