summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2014-01-04 23:42:24 +0000
committermav <mav@FreeBSD.org>2014-01-04 23:42:24 +0000
commit00fb1dac34b7ee3eb3cb779e348afd1794b9ae55 (patch)
treef3b49ae07014b500e7b5bb73b4d82e9a69d37de4 /tests
parent91cfd3a7cc7cf9c59406b5a004d657fa9212d2c6 (diff)
downloadFreeBSD-src-00fb1dac34b7ee3eb3cb779e348afd1794b9ae55.zip
FreeBSD-src-00fb1dac34b7ee3eb3cb779e348afd1794b9ae55.tar.gz
MFC r258693:
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.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud