Getting rid of alignment faults in userspace

Nicolas Pitre nicolas.pitre at linaro.org
Sat Jun 18 14:48:16 UTC 2011


On Sat, 18 Jun 2011, Arnd Bergmann wrote:

> On Friday 17 June 2011, Nicolas Pitre wrote:
> > On Fri, 17 Jun 2011, Arnd Bergmann wrote:
> > > On Friday 17 June 2011 14:10:11 Dave Martin wrote:
> > > 
> > > > As part of the general effort to make open source on ARM better, I think 
> > > > it would be great if we can disable the alignment fixups (or at least
> > > > enable logging) and work with upstreams to get the affected packages
> > > > fixed.
> 
> > The only effective rate limiting configuration I would recommend is to 
> > SIGBUS misaligned accesses by default.  And that's also supported 
> > already with the right flag.
> > 
> 
> So should we change the default in the prerelease kernels to enable SIGBUS?
> The immediate result of that would be to break firefox, which would
> cause a lot of questions on the mailing list.

Only if we really plan on fixing Firefox, and upstream is 
interested in accepting the fix.  Otherwise there is no point, 
especially when it is possible for those actually interested in this 
issue to change the misaligned access behavior at run time for 
themselves.


Nicolas



More information about the ubuntu-devel mailing list