git: nmalloc - Try bigcache in posix_memalign() for big PAGE_SIZE aligned allocs.
Imre Vadasz
ivadasz at crater.dragonflybsd.org
Mon Oct 1 12:24:10 PDT 2018
commit c8a21d032b25a10c79005c89f88a46985cad31de
Author: Imre Vadász <imre at vdsz.com>
Date: Mon Oct 1 21:14:01 2018 +0200
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.
Summary of changes:
lib/libc/stdlib/nmalloc.c | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/c8a21d032b25a10c79005c89f88a46985cad31de
--
DragonFly BSD source repository
More information about the Commits
mailing list