Messages in this thread | | | Date | Tue, 29 Jun 2004 19:02:16 +0200 | From | Kurt Garloff <> | Subject | Re: drivers/block/ub.c |
| |
Hi,
On Sun, Jun 27, 2004 at 02:26:28PM -0700, David S. Miller wrote: > On Sun, 27 Jun 2004 12:42:21 +0200 > Oliver Neukum <oliver@neukum.org> wrote: > > > OK, then it shouldn't be used in this case. However, shouldn't we have > > an attribute like __nopadding__ which does exactly that? > > It would have the same effect. CPU structure layout rules don't pack > (or using other words, add padding) exactly in cases where it is > needed to obtain the necessary alignment.
This is a compiler shortcoming then. The compiler does know the requirements and should be able to determine whether or not it would have addedd padding or not.
Regards, -- Kurt Garloff <kurt@garloff.de> [Koeln, DE] Physics:Plasma modeling <garloff@plasimo.phys.tue.nl> [TU Eindhoven, NL] Linux: SUSE Labs (Head) <garloff@suse.de> [SUSE Nuernberg, DE] [unhandled content-type:application/pgp-signature] | |