Re: user-space unaligned accesses

From: Bjorn Helgaas <bjorn.helgaas_at_hp.com>
Date: 2003-10-09 08:54:07
On Wednesday 08 October 2003 3:46 pm, Grant Grundler wrote:
> On Wed, Oct 08, 2003 at 08:42:00AM -0600, Bjorn Helgaas wrote:
> > ...
> > The ia64 architecture does a tty_write
> > on a userspace unaligned access. Not only is this extremenly annoying,
> > it's also very broken since the tty may well be suspended etc etc.
> > Doing a printk on such an access by default is very broken already,
> > lets not make it worse
> 
> This was beat to death on linux-ia64 already where davidm and davem
> decided to disagree on the utility of printing unaligned accesses
> to the tty.

I thought that discussion was mainly about messages printed by the
kernel using printk.  The Red Hat concern was specifically about
writing to the user tty.

> davidm wrote:
> | At the moment, there are two ways to control the unaligned message printing:
> | 
> |  - use the dmesg command to lower the printing threshold below KERN_WARNING
> |     ("dmesg -n4", IIRC)
> | 
> |  - use prctl --unalign=silent to turn off unaligned printing for a
> |    particular task and its children
> 
> Running prctl on relevant gettys at boot time would have the same effect.
> 
> grant

-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Wed Oct 8 18:54:31 2003

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:19 EST