lkml.org 
[lkml]   [2002]   [Nov]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.5.45 odd deref in serial_in
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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:30    [W:0.072 / U:0.688 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site