[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: "Unaligned access" on Alpha



Steve Langasek <vorlon@debian.org> writes:

> On Sun, Feb 29, 2004 at 07:38:16PM +0100, Falk Hueffner wrote:
> > Steve Langasek <vorlon@debian.org> writes:
> 
> > > As of Linux 2.6, unaligned memory access is no longer handled for you by
> > > the kernel on alpha.  These will instead generate SIGBUS errors, just as
> > > they have forever on Linux sparc.
> 
> > Are you sure? This was not the case with 2.6.0-test3, and the code
> > still seems to be there in 2.6.3 (traps.c/do_entUnaUser).
> 
> I'm not sure, as I've yet to run 2.6 on my alphas, but I have seen
> reports of SIGBUS on alpha under 2.6, which has definitely never
> happened before.  (Maybe this behavior is now optional?)

It has always been optional, you can choose to get SIGBUS with
setsysinfo. However, a default of enabling emulation seems very
sensible to me...

-- 
	Falk



Reply to: