From 0e5a1274bf351622cac65ad373b26702b4ca6d95 Mon Sep 17 00:00:00 2001 From: lichao Date: Mon, 17 Oct 2022 10:43:50 +0800 Subject: [PATCH] add loongarch LG_QUANTUM --- src/jemalloc/include/jemalloc/internal/jemalloc_internal.h.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/jemalloc/include/jemalloc/internal/jemalloc_internal.h.in b/src/jemalloc/include/jemalloc/internal/jemalloc_internal.h.in index 70054f9..ac65079 100644 --- a/src/jemalloc/include/jemalloc/internal/jemalloc_internal.h.in +++ b/src/jemalloc/include/jemalloc/internal/jemalloc_internal.h.in @@ -203,6 +203,9 @@ static const bool config_ivsalloc = # ifdef __mips__ # define LG_QUANTUM 3 # endif +# ifdef __loongarch64 +# define LG_QUANTUM 3 +# endif # ifdef __powerpc__ # define LG_QUANTUM 4 # endif -- 2.31.1