It is being reported that the memory pagesize on macOS 11/arm64 is 16 KiB. See <https://www.winehq.org/pipermail/wine-devel/2020-August/171857.html>.
2020-11-27 Bruno Haible <br...@clisp.org> ssfmalloc tests: Port to macOS 11. * tests/test-ssfmalloc.c (PAGESIZE_MAX): Set to 16384, not 8192. diff --git a/tests/test-ssfmalloc.c b/tests/test-ssfmalloc.c index 86fa42b..397fa98 100644 --- a/tests/test-ssfmalloc.c +++ b/tests/test-ssfmalloc.c @@ -124,12 +124,12 @@ free_pages (uintptr_t pages, size_t size) /* ======================= Instantiate the front end ======================= */ #define PAGESIZE pagesize -/* On Cygwin and Linux/PowerPC, PAGESIZE is 65536. On all other platforms, it - is either 4096 or 8192. */ +/* On Cygwin and Linux/PowerPC, PAGESIZE is 65536. On macOS 11, it is 16384. + On all other platforms, it is either 4096 or 8192. */ #if defined __CYGWIN__ || (defined __linux__ && defined __powerpc__) # define PAGESIZE_MAX 65536 #else -# define PAGESIZE_MAX 8192 +# define PAGESIZE_MAX 16384 #endif #define ALLOC_PAGES alloc_pages