Port-arm archive

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

Re: jemalloc issues on earm and earmhf

martin%duskware.de@localhost (Martin Husemann) writes:

>unpluged:~ # uname -a
>NetBSD unpluged.duskware.de 9.0_RC1 NetBSD 9.0_RC1 (UNPLUGED) #2: Fri Jan 10 20:50:18 CET 2020  martin%martins.aprisoft.de@localhost:/usr/src-9/sys/arch/evbarm/compile/UNPLUGED evbarm
>unpluged:~ # sysctl hw.pagesize
>hw.pagesize = 4096

#if defined(_ARM_ARCH_6)
#define PGSHIFT         13              /* LOG2(NBPG) */ 
#define PGSHIFT         12              /* LOG2(NBPG) */

So things break if you mix earm6 and !earm6 because jemalloc uses
compile time constants instead of querying the system.

                                Michael van Elst
Internet: mlelstv%serpens.de@localhost
                                "A potential Snark may lurk in every tree."

Home | Main Index | Thread Index | Old Index