]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
fs: re-order super_block to remove 16 bytes of padding on 64bit builds
authorRichard Kennedy <richard@rsk.demon.co.uk>
Tue, 26 Jan 2010 14:12:43 +0000 (14:12 +0000)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 3 Mar 2010 19:07:55 +0000 (14:07 -0500)
commit270ba5f7c5dac0bfb564aa35a536fb31ad4075bd
treef1e3247c9ca36d92ea87be5d72e66656d24b71bd
parentf1771ffaac29a7a4e321ddd94d7873bc0dcefd41
fs: re-order super_block to remove 16 bytes of padding on 64bit builds

re-order structure super_block to remove 16 bytes of alignment padding
on 64bit builds.

This shrinks the size of super_block from 712 to 696 bytes so requiring
one fewer 64 byte cache lines.

Signed-off-by: Richard Kennedy <richard@rsk.demon.co.uk>
-----
patch against 2.6.33-rc5
compiled & tested on x86_64 AMDX2 desktop machine.

I've been running with this patch applied for several weeks with no
problems.

regards
Richard
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
include/linux/fs.h