Re: Early crash
From: Rusty Russell <hidden>
Date: 2011-02-08 03:12:55
Also in:
linux-m68k, lkml
From: Rusty Russell <hidden>
Date: 2011-02-08 03:12:55
Also in:
linux-m68k, lkml
On Tue, 8 Feb 2011 05:57:08 am David Miller wrote:
From: Dmitry Torokhov <redacted> Date: Mon, 7 Feb 2011 08:58:29 -0800quoted
But, theoretically speaking, nothing stops GCC to align pointers with "gaps" as well? Let's say having everything (or some) aligned on quadword boundary even though arch is 32 bit?The alignment business only applies to aggregates (ie. structs and unions). This has been confirmed via several weeks of expermentation with different GCC versions on different platforms as well.
But OTOH, this is an old problem which was faced by module params since pre-git. And we use the-align-to-void*-size method there; I vaguely recall inserting it. You've now got me wondering whether these platforms have broken builtin module parameters, but I think it would crash iterating if you had any boot parameters at all if that were the case. So do we fix that now too, or wait for it to break? Rusty.