fanotify: use __aligned_u64 in fanotify userspace metadata
authorEric Paris <eparis@redhat.com>
Thu, 28 Oct 2010 21:21:56 +0000 (17:21 -0400)
committerEric Paris <eparis@redhat.com>
Thu, 28 Oct 2010 21:22:13 +0000 (17:22 -0400)
commit2868201965419b9011f3f07fd80e765181343cb1
tree73cf2f58121c05367a3fc79380b0e28a127fe9fe
parent4231a23530a30e86eb32fbe869bbef1b3e54d5aa
fanotify: use __aligned_u64 in fanotify userspace metadata

Currently the userspace struct exposed by fanotify uses
__attribute__((packed)) to make sure that alignment works on multiarch
platforms.  Since this causes a severe performance penalty on some
platforms we are going to switch to using explicit alignment notation on
the 64bit values so we don't have to use 'packed'

Signed-off-by: Eric Paris <eparis@redhat.com>
include/linux/fanotify.h