1
0
mirror of https://github.com/roytam1/UXP.git synced 2026-05-26 13:58:49 +00:00

Issue #2897 followup - Do not hardcode jemalloc page size on LoongArch

Loongarch can run on either a 4k or 16k page size
This commit is contained in:
Basilisk-Dev
2026-03-18 17:48:41 -04:00
committed by roytam1
parent 7209aaa021
commit 2aec1ada9e
+2 -1
View File
@@ -886,7 +886,8 @@ static const bool config_recycle = false;
* controlling the malloc behavior are defined as compile-time constants
* for best performance and cannot be altered at runtime.
*/
#if !defined(__ia64__) && !defined(__sparc__) && !defined(__mips__) && !defined(__aarch64__)
#if !defined(__ia64__) && !defined(__sparc__) && !defined(__mips__) && \
!defined(__aarch64__) && !defined(__loongarch__) && !defined(__loongarch64)
#define MALLOC_STATIC_SIZES 1
#endif