From: Russell King <rmk@arm.linux.org.uk>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: dchristian@mail.arc.nasa.gov, linux-kernel@vger.kernel.org
Subject: Re: 2.4.18 serial drops characters with 16654
Date: Thu, 19 Sep 2002 19:01:07 +0100 [thread overview]
Message-ID: <20020919190107.C11763@flint.arm.linux.org.uk> (raw)
In-Reply-To: <1032457132.27721.45.camel@irongate.swansea.linux.org.uk>; from alan@lxorguk.ukuu.org.uk on Thu, Sep 19, 2002 at 06:38:52PM +0100
On Thu, Sep 19, 2002 at 06:38:52PM +0100, Alan Cox wrote:
> Actually you can do it in hardware on the 16550 depending how its wired.
> Take a look at the usenet-2 serial port design some day. The software
> mode we do does in theory mean heavy delay to the bh handling might
> delay the assertion excessively. That I think may be the real
> explanation here.
>
> Its
> buffer full
> bh handler delayed by bh load (tasklet nowdays I guess I mean)
> overrun
> overrun
> ...
> ksoftirqd
> Oh look I should do carrier
>
> Russell - does that sound reasonable.
Hmm, looking at the tty stuff, I'd say its a distinct possibility. Even
more so since the flip buffer handler is put on tq_timer, which is subject
to ksoftirqd.
However, at the point when we hand data to the tty layer, we should have
2048 bytes left in the flip buffer before we really start soft overrunning
(vs hardware overrunning.) I notice that we don't make any attempt to
report such an event to user space, even when user space wants to know
about overruns.
Christian - what baud rate are you running these uarts at?
--
Russell King (rmk@arm.linux.org.uk) The developer of ARM Linux
http://www.arm.linux.org.uk/personal/aboutme.html
next prev parent reply other threads:[~2002-09-19 17:56 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-11 14:28 2.4.18 serial drops characters with 16654 Ed Vance
2002-09-11 23:12 ` Andreas Steinmetz
2002-09-12 8:20 ` Alan Cox
2002-09-19 17:27 ` Dan Christian
2002-09-19 17:38 ` Alan Cox
2002-09-19 18:01 ` Russell King [this message]
2002-09-19 18:38 ` Dan Christian
2002-09-19 18:24 ` Dan Christian
2002-09-19 18:42 ` Alan Cox
2002-09-19 18:43 ` Russell King
2002-09-12 14:55 ` Stuart MacDonald
-- strict thread matches above, loose matches on Subject: below --
2002-09-10 22:22 Dan Christian
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=20020919190107.C11763@flint.arm.linux.org.uk \
--to=rmk@arm.linux.org.uk \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=dchristian@mail.arc.nasa.gov \
--cc=linux-kernel@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox