]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
The addition of i_dirhash to struct inode pushed RELENG_4's
authorIan Dowse <iedowse@FreeBSD.org>
Mon, 24 Sep 2001 18:29:20 +0000 (18:29 +0000)
committerIan Dowse <iedowse@FreeBSD.org>
Mon, 24 Sep 2001 18:29:20 +0000 (18:29 +0000)
commit5d76690a7f559d4d9e6c96e892557fa08273fd40
treecfbd600a42f22b429b72e0eb6a4732cfe57774b9
parent16f572741735bcd9a619c5b57b8b18fb29f3b9b0
The addition of i_dirhash to struct inode pushed RELENG_4's
sizeof(struct inode) into a new malloc bucket on the i386. This
didn't happen in -current due to the removal of i_lock, but it does
no harm to apply the workaround to -current first.

Reduce the size of the i_spare[] array in struct inode from 4 to
3 entries, and change ext2fs to use i_din.di_spare[1] so that it
does not need i_spare[3].

Reviewed by: bde
MFC after: 3 days
sys/gnu/ext2fs/ext2_fs.h
sys/gnu/ext2fs/inode.h
sys/gnu/fs/ext2fs/ext2_fs.h
sys/gnu/fs/ext2fs/inode.h
sys/ufs/ufs/inode.h