summaryrefslogtreecommitdiffstats
path: root/contrib/gcclibs/libcpp
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2013-11-27 20:56:10 +0000
committermav <mav@FreeBSD.org>2013-11-27 20:56:10 +0000
commitffd93c315fc1a63d1d968832713d7b137aa5a22a (patch)
tree52bceacc9e21b4e716d4cb083305fd38ee9be047 /contrib/gcclibs/libcpp
parent7a20ece098308ca78bf220e0e5509d28fc1d9dd2 (diff)
downloadFreeBSD-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
OpenPOWER on IntegriCloud