]> git.baikalelectronics.ru Git - kernel.git/commit
fs.h: remove 8 bytes of padding from block_device on 64bit builds
authorRichard Kennedy <richard@rsk.demon.co.uk>
Tue, 22 Mar 2011 23:33:56 +0000 (16:33 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 23 Mar 2011 00:44:10 +0000 (17:44 -0700)
commit762d4f3e96c9e80e942151e7641f3ee1060a5195
tree3433cd58adfe51db1f466e6033040ac9a512ffd2
parentae7f2f39ceb373a554e3ab774cf17b4375ea1f5b
fs.h: remove 8 bytes of padding from block_device on 64bit builds

Re-ordering struct block_inode to remove 8 bytes of padding on 64 bit
builds, which also shrinks bdev_inode by 8 bytes (776 -> 768) allowing it
to fit into one fewer cache lines.

Signed-off-by: Richard Kennedy <richard@rsk.demon.co.uk>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/fs.h