git: nmalloc - Cache 4K and 8K allocations in posix_memalign()
Matthew Dillon
dillon at crater.dragonflybsd.org
Mon Oct 1 11:44:28 PDT 2018
commit 7273246370207c9f2857f0d14350564b6bb76696
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Mon Oct 1 11:43:13 2018 -0700
nmalloc - Cache 4K and 8K allocations in posix_memalign()
* Adjust posix_memalign() to use the slab allocator for 4K and 8K
allocations same as malloc() does, to improve performance for
programs using posix_memalign().
Summary of changes:
lib/libc/stdlib/nmalloc.c | 27 ++++++++++++++++++++++++---
1 file changed, 24 insertions(+), 3 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/7273246370207c9f2857f0d14350564b6bb76696
--
DragonFly BSD source repository
More information about the Commits
mailing list