On Maw, 2004-01-13 at 12:35, Paulo Marques wrote: > 1 - we can let the kernel trap and correct all unaligned accesses. This way > applications (and the kernel itself) would run slower but with no other problems. > > 2 - we can let the kernel just "count" unaligned accesses and let developers > correct the code until the counter reads always zero in any situation. This way > the applications will be cleaner and faster. > > I think I read somewhere that the kernel developers went for the second option, > with which I personally agree, by the way.
The kernel itself requires unaligned fixups to work. For user space it varies by platform. So for Alpha I believe we do some work with unaligned accesses while for X86 we never set the alignmen flag, although at least one interpreter uses it for type checking. ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel