Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Bob Taylor <brtaylor@inreach.com>
To: axp-list@redhat.com
Subject: Re: unaligned trap messages
Date: Mon, 16 Nov 1998 16:45:49 -0800	[thread overview]
Message-ID: <199811170045.QAA12166@ann.qtpi.lakewood.ca.us> (raw)
In-Reply-To: Your message of "16 Nov 1998 16:47:25 GMT." <m3emr3k2jl.fsf@fnord.blackwell.co.uk>

In message <m3emr3k2jl.fsf@fnord.blackwell.co.uk>, Robin Stephenson writes:
> >>>>> On Mon, 16 Nov 1998 15:39:57 +0000
> >>>>> "jmd" == jmd  <jmd@infinet.com> wrote:
> 
> jmd> I am getting unaligned trap messages in /var/log/mesages. All of these
> jmd> are related to X or to an X program (ie GIMP). 
>                                 [...]
> jmd> Any ideas?
> 
> It's `only' a performance problem (and disk space, if your logs get
> too big...).  Values need to be aligned on certain boundaries for the
> Alpha CPU.  If they're not aligned, it generates a trap, reorders
> them, and puts them into the CPU (ie it works around the misalignment
> automatically).  To fix it you'll need to get hold of the source code
> for whatever's causing the traps and pad the guilty structures to line
> their members up on the appropriate boundaries.

Have I been under a false understanding? I *thought* that the compiler
was responsible for aligning (where needed) structures.

Bob

-- 
+---------------------------------------------------------------+
| Bob Taylor             Email: brtaylor@inreach.com            |
|---------------------------------------------------------------|
| Like the ad says, at 300 dpi you can tell she's wearing a     |
| swimsuit. At 600 dpi you can tell it's wet. At 1200 dpi you   |
| can tell it's painted on. I suppose at 2400 dpi you can tell  |
| if the paint is giving her a rash. (So says Joshua R. Poulson)|
+---------------------------------------------------------------+



  reply	other threads:[~1998-11-17  1:01 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-11-16 15:39 unaligned trap messages jmd
1998-11-16 16:47 ` Robin Stephenson
1998-11-17  0:45   ` Bob Taylor [this message]
1998-11-17  8:59     ` philb
1998-11-16 17:33 ` Maurice Hilarius
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox