All of lore.kernel.org
 help / color / mirror / Atom feed
From: Russell King <rmk@arm.linux.org.uk>
To: Zwane Mwaikambo <zwane@holomorphy.com>
Cc: Linux Kernel <linux-kernel@vger.kernel.org>
Subject: Re: 2.5.45 odd deref in serial_in
Date: Tue, 5 Nov 2002 10:16:26 +0000	[thread overview]
Message-ID: <20021105101626.A20224@flint.arm.linux.org.uk> (raw)
In-Reply-To: <Pine.LNX.4.44.0211050414410.27141-100000@montezuma.mastecende.com>; from zwane@holomorphy.com on Tue, Nov 05, 2002 at 04:20:00AM -0500

On Tue, Nov 05, 2002 at 04:20:00AM -0500, Zwane Mwaikambo wrote:
> I'm runnning 115200 :P It looks like a race however because i don't always 
> trigger it, but when i do the trace is always the same. However i'm not 
> going to make you run circles for my potentially dodgy code.

The figures are actually rather horrifing.  There are a couple of
messages I have in my boot log which are rather long - 137 chars
and 79 chars.

Even at 115200 baud is one character every 87us.  This gives:

137 characters: 12ms
79 characters: 7ms

At these types of figures, x86 will drop 1000Hz interrupts like
crazy when writing console messages via the serial port (because
interrupts are turned off.)

With these figures, the longest message we can write at 115200
baud and not drop any timer ticks is 11 characters.  Not many
kernel messages are less than 12 characters.

Now I'll go back and look at your original email... it was for a
slightly different problem. 8)

-- 
Russell King (rmk@arm.linux.org.uk)                The developer of ARM Linux
             http://www.arm.linux.org.uk/personal/aboutme.html


  reply	other threads:[~2002-11-05 10:09 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-05  4:27 2.5.45 odd deref in serial_in Zwane Mwaikambo
2002-11-05  4:38 ` Zwane Mwaikambo
2002-11-05  9:02 ` Russell King
2002-11-05  9:20   ` Zwane Mwaikambo
2002-11-05 10:16     ` Russell King [this message]
2002-11-07 15:17     ` David Woodhouse
2002-11-07 15:24       ` Zwane Mwaikambo
2002-11-05 10:20 ` Russell King
2002-11-05 14:30   ` Zwane Mwaikambo
2002-11-06  3:23     ` Philippe Elie
2002-11-06  8:37       ` Zwane Mwaikambo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20021105101626.A20224@flint.arm.linux.org.uk \
    --to=rmk@arm.linux.org.uk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=zwane@holomorphy.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.