diff options
author | mav <mav@FreeBSD.org> | 2013-11-27 20:56:10 +0000 |
---|---|---|
committer | mav <mav@FreeBSD.org> | 2013-11-27 20:56:10 +0000 |
commit | ffd93c315fc1a63d1d968832713d7b137aa5a22a (patch) | |
tree | 52bceacc9e21b4e716d4cb083305fd38ee9be047 /contrib/gcclibs/libcpp | |
parent | 7a20ece098308ca78bf220e0e5509d28fc1d9dd2 (diff) | |
download | FreeBSD-src-ffd93c315fc1a63d1d968832713d7b137aa5a22a.zip FreeBSD-src-ffd93c315fc1a63d1d968832713d7b137aa5a22a.tar.gz |
Make UMA to not blindly force offpage slab header allocation for large
(> PAGE_SIZE) zones. If zone is not multiple to PAGE_SIZE, there may
be enough space for the header at the last page, so we may avoid extra
header memory allocation and hash table update/lookup.
ZFS creates bunch of odd-sized UMA zones (5120, 6144, 7168, 10240, 14336).
This change gives good use to at least some of otherwise lost memory there.
Reviewed by: avg
Diffstat (limited to 'contrib/gcclibs/libcpp')
0 files changed, 0 insertions, 0 deletions