linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* struct fanotify_event_metadata
@ 2010-08-14 17:44 Andreas Schwab
  2010-08-19 15:44 ` Tvrtko Ursulin
  0 siblings, 1 reply; 12+ messages in thread
From: Andreas Schwab @ 2010-08-14 17:44 UTC (permalink / raw)
  To: Andreas Gruenbacher; +Cc: Eric Paris, linux-kernel

The pid field of struct fanotify_event_metadata has 64 bits which looks
excessive.  Wouldn't it make sense to make it 32 bits and swap it with
the mask field?  That would avoid the unaligned mask field, and remove
the need for the packed attribute.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2010-08-20 17:47 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-14 17:44 struct fanotify_event_metadata Andreas Schwab
2010-08-19 15:44 ` Tvrtko Ursulin
2010-08-19 16:07   ` Andreas Gruenbacher
2010-08-19 16:35     ` Tvrtko Ursulin
2010-08-19 17:53   ` Eric Paris
2010-08-20  9:02     ` Tvrtko Ursulin
2010-08-20  9:16       ` Andreas Schwab
2010-08-20  9:23         ` Tvrtko Ursulin
2010-08-20 13:13         ` Eric Paris
2010-08-20 13:27           ` Andreas Schwab
2010-08-20 15:19             ` Eric Paris
2010-08-20 17:47               ` Eric Paris

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).