"Richard W.M. Jones" <rjones(a)redhat.com> wrote:
On Mon, Dec 30, 2013 at 10:27:38PM +0800, Andy Green wrote:
> Yeah I think until you realize why and how it's a problem (in other
> words, you got bitten) most programmers wouldn't particularly think
> to defend against it because the code is c-legal and works on x86.
That's because it *isn't* a problem.
We shouldn't worry about misalignment problems in Fedora ARM unless
you can demonstrate with hard numbers that a particular misalignment
causes a performance issue.
Set alignment to fixup, and forget about it.
Since Fedora Arm made the decision to only target v7+ that's reasonable from that
perspective. I think everything in that class fixes them up in hardware anyway.
There are plenty of chips outside that though and if those users are bothered by the
fixups they can send patches.
-Andy
Rich.