nmalloc - Try bigcache in posix_memalign() for big PAGE_SIZE aligned allocs.
commitc8a21d032b25a10c79005c89f88a46985cad31de
authorImre Vadász <imre@vdsz.com>
Mon, 1 Oct 2018 19:14:01 +0000 (1 21:14 +0200)
committerImre Vadász <imre@vdsz.com>
Mon, 1 Oct 2018 19:14:01 +0000 (1 21:14 +0200)
treeba36f415fc7063d58b6fec96c56edccf925d007d
parent7273246370207c9f2857f0d14350564b6bb76696
nmalloc - Try bigcache in posix_memalign() for big PAGE_SIZE aligned allocs.

* This improves performance (by reducing the amount of mmap() calls required
  and avoiding some amount of page faults) for applications which frequently
  call posix_memalign() with a 4096 byte alignment for allocations bigger
  than 8KB. Allocations of 8KB and smaller are efficiently handled by the
  SLAB allocator already.
lib/libc/stdlib/nmalloc.c