unaligned data access - Ultrix 3.0 (RISC)

Jeff Michaud michaud at decvax.dec.com
Sat Jul 22 07:44:00 AEST 1989


In article <18664 at mimsy.UUCP>, steve at vorga.umiacs.umd.edu (Steve D. Miller) writes:
>    Does turning off the messages also turn off the fixups?  Is there any way
> to turn off the fixups, either on a per-process or systemwide basis?

	Turning off the messages only turns off the message going to the users terminal
	(ie. the uprintf's).  They still go to the error logger (which can be looked
	at using uerf) so its a double performance killer, once for the fixup, and
	again because it has to log it through the error logging daemon.

	uac(1) can turn off the message on a per-process or systemwide basis.
	Turning it off for a process also turns it off for children of the process.
	Unaligned accesses are really bugs in the application.  It is just that
	so maney of us have been spoiled by the VAX in being able to cast pointers
	to pointers to anything we like :-).  Kernel hackers note that unaligned
	accesses in the kernel result in a panic (ie. no fixups in kernel mode).
-- 
/--------------------------------------------------------------\
|Jeff Michaud    michaud at decwrl.dec.com  michaud at decvax.dec.com|
|DECnet-ULTRIX   #include <standard/disclaimer.h>              |
\--------------------------------------------------------------/



More information about the Comp.unix.ultrix mailing list