The intention of the call "xmalloc(256 * 1024)" in tst-decorate-maps is
to force malloc() to fall back to using mmap() since such an amount
won't be available from the main heap.
Post
321e1fc73f, on aarch64, the heap gets extended by default by at
least 2MB, thus the aforementioned call may get satisfied on the main
heap itself. Thus, increase the amount of memory requested to force the
mmap() path again.
Checked on aarch64-linux-gnu.
xpthread_barrier_init (&b, NULL, num_threads + 1);
/* Issue a large malloc to trigger a mmap call. */
- void *p = xmalloc (256 * 1024);
+ void *p = xmalloc (2 * 1024 * 1024);
pthread_t thr[num_threads];
{