Pack dmu_buf_impl_t by 16 bytes
commit94a03dd1e49a1bfa464944b624cd718076a8c0ee
authorAlexander Motin <mav@FreeBSD.org>
Fri, 25 Oct 2024 16:03:37 +0000 (25 12:03 -0400)
committerGitHub <noreply@github.com>
Fri, 25 Oct 2024 16:03:37 +0000 (25 09:03 -0700)
tree6e0d81362150c98d6409ad17e4f375688bdaf2cd
parent2e4e0928220f1a67d0412f8cbcc4b426ddfb58f2
Pack dmu_buf_impl_t by 16 bytes

On 64bit FreeBSD this reduces one from 296 to 280 bytes.  On small
block workloads dbufs may consume gigabytes of ARC, and this saves
5% of it.

Reviewed-by: Tino Reichardt <milky-zfs@mcmilk.de>
Reviewed-by: Brian Atkinson <batkinson@lanl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Alexander Motin <mav@FreeBSD.org>
Sponsored by: iXsystems, Inc.
Closes #16684
include/sys/dbuf.h