diff options
author | Theodore Ts'o <tytso@mit.edu> | 2011-10-29 16:24:18 +0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2011-10-29 16:24:18 +0400 |
commit | 6cdbb0effc2f511ced23e46f2117e4b31d3d4a50 (patch) | |
tree | a440c35498abfd171b619a398f1cee1b62be8219 /fs/ext4/migrate.c | |
parent | 80e675f906db54eb1ce3a9555cee5f45b5b72ab2 (diff) | |
download | linux-6cdbb0effc2f511ced23e46f2117e4b31d3d4a50.tar.xz |
fs: optimize out 16 bytes worth of padding in struct inode
Rearrange the fields in struct inode so that on an x86_64 system,
fields that require 8-byte alignment don't end up causing 4-byte holes
in the structure. It reduces the size of struct inode from 568 bytes
to 552 bytes.
Also move the fields protected by i_lock (i_blocks, i_bytes, and
i_size) into the same cache line as i_lock.
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/migrate.c')
0 files changed, 0 insertions, 0 deletions