Subject: Re: issues with 802.11 radiotap
To: None <firstname.lastname@example.org>
From: Martin Husemann <email@example.com>
Date: 07/12/2005 09:11:27
On Tue, Jul 12, 2005 at 08:02:07AM +0100, David Laight wrote:
> It has to generate the 'slow' code because spcifying __packed__ is
> necessary if the entire structure might be misaligned.
I'm not realy sure I understand this sentence (maybe I'm missing some side
effect of the "packed" meaning for gcc).
I think the compiler will generate fast or slow code depending on the resulting
alignment of a structure member - no matter how it got to that memory layout.