by yjftsjthsd-h · 2y ago · 0 comments
I would be interested in hearing more - I was given to believe that most open source software was fine on any of the major architectures[0], and I've not heard of the 16k thing at all (is Asahi doing something nonstandard with memory pages?)
[0] Albeit with POWER somewhat weaker and SPARC mostly lost. But I thought ARM was in good shape, and MIPS has been weirdly resilient.
It's not really non-standard so much as it is new-standard or different-standard. Aarch64 officially supports 4K, 16K, and 64K pages. This flexibility in the aarch64 ABI means that most compilers already produce 64K aligned load segments for aarch64, so it's not a huge deal except for software that works at a low level and makes assumptions about mmap (for example).
The main software that's truly affected beyond just needing recompilation or tweaks is x86/x86-64 emulation software, since x86 is pretty tightly coupled to 4k pages.