]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
fs: reorder struct inotify_device on 64bits to remove padding
authorRichard Kennedy <richard@rsk.demon.co.uk>
Thu, 4 Dec 2008 11:17:47 +0000 (11:17 +0000)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 31 Dec 2008 23:07:37 +0000 (18:07 -0500)
commite2b689d82c0394e5239a3557a217f19e2f47f1be
tree5184413c8c872f84ef002f183db70a47b081a8dd
parentbe6d3e56a6b9b3a4ee44a0685e39e595073c6f0d
fs: reorder struct inotify_device on 64bits to remove padding

Reorder struct inotify_device to remove 8 bytes of padding on 64bit
builds, reducing size to 128 bytes . Therefore allocating from a smaller
slab & using one fewer cachelines.

Signed-off-by: Richard Kennedy <richard@rsk.demon.co.uk>
----
Hi,
patch against 2.6.28-rc7.
built & tested on AMDX2 desktop.

I've not been able to send this to the listed inotify maintainers, I
just get mail failures. So I guessed filesystem was the best home for
it, hope that's ok.

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