Subject: Re: Alignment problems on Acorn{26,32}
To: None <port-arm@NetBSD.org>
From: Steve Woodford <scw@netbsd.org>
List: port-arm
Date: 11/04/2003 08:07:18
On Monday 03 November 2003 11:56 pm, Richard Earnshaw wrote:

> Is it possible to do this only for kernels?  Ie, user-space is
> restricted to strict-alignment, but the kernel (which is normally
> processor-specific anyway) can do whichever is appropriate.

Sure, it's possible.

Does the benefit of this compensate for the overhead of the additional 
cpu cycles on every exception/interrupt entry/exit? At least the normal 
COMPAT_15 behaviour can be disabled by simply no defining the option.

You'd also have to add the same overhead to the FIQ entry/exit points 
"Just In Case".

Cheers, Steve