diff options
author | Richard Kennedy <richard@rsk.demon.co.uk> | 2010-02-15 11:16:11 +0000 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2010-02-19 10:41:13 -0500 |
commit | 4e70af56319e56423d6eb1ce25fc321cdf8cd41d (patch) | |
tree | 5bdc090bc52c2b341c880374574613ca12f50b6a /include/linux/fs.h | |
parent | 7fee4868be91e71a3ee8e57289ebf5e10a12297e (diff) | |
download | linux-4e70af56319e56423d6eb1ce25fc321cdf8cd41d.tar.gz linux-4e70af56319e56423d6eb1ce25fc321cdf8cd41d.tar.bz2 linux-4e70af56319e56423d6eb1ce25fc321cdf8cd41d.zip |
fs: inode - remove 8 bytes of padding on 64bits allowing 1 more objects/slab under slub
This removes 8 bytes of padding from struct inode on 64bit builds, and
so allows 1 more object/slab in the inode_cache when using slub.
Signed-off-by: Richard Kennedy <richard@rsk.demon.co.uk>
----
patch against 2.6.33-rc8
compiled & tested on x86_64 AMDX2
I've been running this patch for over a week with no obvious problems
regards
Richard
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/fs.h')
-rw-r--r-- | include/linux/fs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index b1bcb275b596..ebb1cd5bc241 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h @@ -729,6 +729,7 @@ struct inode { uid_t i_uid; gid_t i_gid; dev_t i_rdev; + unsigned int i_blkbits; u64 i_version; loff_t i_size; #ifdef __NEED_I_SIZE_ORDERED @@ -738,7 +739,6 @@ struct inode { struct timespec i_mtime; struct timespec i_ctime; blkcnt_t i_blocks; - unsigned int i_blkbits; unsigned short i_bytes; umode_t i_mode; spinlock_t i_lock; /* i_blocks, i_bytes, maybe i_size */ |