]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
cache: resize struct namecache to a multiply of alignment
authormjg <mjg@FreeBSD.org>
Mon, 10 Aug 2020 12:05:55 +0000 (12:05 +0000)
committermjg <mjg@FreeBSD.org>
Mon, 10 Aug 2020 12:05:55 +0000 (12:05 +0000)
commit6a61009d07768dd4742049a4b7da7d11408b882c
tree5ffb7bc57f2d54356545baa2e1e220ecc15585de
parent919221947eb0504cfe69976d817f1bf47088ecd0
cache: resize struct namecache to a multiply of alignment

For example struct namecache on amd64 is 100 bytes, but it has to occupies
104. Use the extra bytes to support longer names.
sys/kern/vfs_cache.c