freebsd-dev/sys/cddl
Alexander Motin 83d0c3846d Allocate buffers smaller then ABD chunk size as linear.
This allows to reduce memory waste by letting UMA to put multiple small
buffers into one memory page slab.  The page sharing means that UMA
may not be able to free memory page when some of buffers are freed, but
alternatively memory used by that buffer would just be wasted from the
beginning.

This change follows alike change in ZoL, but unlike Linux (according to
my understanding of it from comments) FreeBSD never shares slabs bigger
then one memory page, so this should be even less invasive then there.

MFC after:	2 weeks
Sponsored by:	iXsystems, Inc.
2019-05-22 18:43:48 +00:00
..
boot/zfs zfsboot: support newer ZFS versions 2019-01-03 22:49:11 +00:00
compat/opensolaris Extract eventfilter declarations to sys/_eventfilter.h 2019-05-20 00:38:23 +00:00
contrib/opensolaris Allocate buffers smaller then ABD chunk size as linear. 2019-05-22 18:43:48 +00:00
dev powerpc/dtrace: Actually fix stack traces 2019-05-17 19:57:08 +00:00