ssfmalloc tests: Port to macOS 11.
authorBruno Haible <bruno@clisp.org>
Fri, 27 Nov 2020 19:56:19 +0000 (20:56 +0100)
committerBruno Haible <bruno@clisp.org>
Fri, 27 Nov 2020 19:56:19 +0000 (20:56 +0100)
* tests/test-ssfmalloc.c (PAGESIZE_MAX): Set to 16384, not 8192.

ChangeLog
tests/test-ssfmalloc.c

index 4abff03b286bb4bb57f913f904aa71c14dcdfe69..bf29984838fe612ebcfee308782509398f0d61d0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2020-11-27  Bruno Haible  <bruno@clisp.org>
+
+       ssfmalloc tests: Port to macOS 11.
+       * tests/test-ssfmalloc.c (PAGESIZE_MAX): Set to 16384, not 8192.
+
 2020-11-26  Bruno Haible  <bruno@clisp.org>
 
        Fix dependencies of modules that use '_exit' on native Windows.
index 86fa42bf84f91e5e3f3450b66f1fd399aa32eba7..397fa98ac13bfcac8014a44b154acd0e3c49e198 100644 (file)
@@ -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