Re: [Patch 04/18] include/linux/logfs.h

From: Segher Boessenkool
Date: Tue Jun 05 2007 - 11:49:23 EST


It would be better if GCC had a 'nopadding' attribute which gave us what
we need without the _extra_ implications about alignment.

That's impossible; removing the padding from a struct
_will_ make accesses to its members unaligned (think
about arrays of that struct).


Segher

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/