]> bbs.cooldavid.org Git - net-next-2.6.git/commit
fsnotify: remove alignment padding from fsnotify_mark on 64 bit builds
authorRichard Kennedy <richard@rsk.demon.co.uk>
Thu, 28 Oct 2010 21:21:59 +0000 (17:21 -0400)
committerEric Paris <eparis@redhat.com>
Thu, 28 Oct 2010 21:22:16 +0000 (17:22 -0400)
commitd8c0fca68da25ca3df534dfb12ce628675c828e4
tree375df2063f95d9372e7b56d8ba0d265967642471
parent19ba54f4645f8c5edae4b08919a37a409b8793aa
fsnotify: remove alignment padding from fsnotify_mark on 64 bit builds

Reorder struct fsnotfiy_mark to remove 8 bytes of alignment padding on 64
bit builds.  Shrinks fsnotfiy_mark to 128 bytes allowing more objects per
slab in its kmem_cache and reduces the number of cachelines needed for
each structure.

Signed-off-by: Richard Kennedy <richard@rsk.demon.co.uk>
Cc: Eric Paris <eparis@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Eric Paris <eparis@redhat.com>
include/linux/fsnotify_backend.h