]> git.hungrycats.org Git - linux/commit
[PATCH] reduce size of struct inode on 64bit
authorAnton Blanchard <anton@samba.org>
Fri, 27 Aug 2004 03:32:41 +0000 (20:32 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Fri, 27 Aug 2004 03:32:41 +0000 (20:32 -0700)
commita4eadb56954ea7f27286067d75e9ea5e61a097ff
tree9a8fe573647f3f5860d8dc1b926243003c5f3b49
parentb04f69c9020dd07efce81eac79b2ed4f6b9d8bb5
[PATCH] reduce size of struct inode on 64bit

Reduce the size of struct inode on 64bit architectures by reducing padding.
This assumes spinlocks are 32bit or less which is the case on most
architectures.

This reduces inode structs by 24 bytes on ppc64, and on ext2 increases the
number of inodes in a 4kB slab from 5 to 6.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/linux/fs.h