On Mon Jan 1 21:51:44 2024 +0000, Alexandre Julliard wrote:
So for mingw, if it targets producing binaries that run on Windows on
aarch64, there's strictly speaking no need for it to produce anything else than 4k pages. However, if targeting producing binaries that run on both actual Windows and Wine, then it could indeed make sense to use 16k or 64k pages. (And it has very little extra ill effects of course.) We want Wine to be able to run MSVC-produced binaries (and of course x86 binaries too), which means we have to support 4K pages no matter what. Using a higher alignment for Wine binaries may make things more efficient, but it cannot be a requirement for things to work at all.
Right, so with that in mind, there's probably no reason to upstream such a change to LLVM - but this patch at hand might make Wine internal components more functional in the short term.