From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: Tom Schouten <doelie@zzz.kotnet.org>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: 2.4 virtual terminal timing
Date: Wed, 10 Nov 2004 18:35:58 +0000 [thread overview]
Message-ID: <1100111756.20556.21.camel@localhost.localdomain> (raw)
In-Reply-To: <20041110125828.GB15767@zzz.i>
On Mer, 2004-11-10 at 12:58, Tom Schouten wrote:
> i am trying to find out if there is a direct path in 2.4.x from
> keyboard interrupt, through console/tty stuff to process wakeup,
> for a 2 thread process with one thread blocking on tty read,
> running SCHED_FIFO, or a single thread process with async IO.
>
You hit the keyboard. A microcontroller with a brain the size of a pea
sits around for a bit works out what you hit and we get an interrupt.
After
that it sends it slowly over a serial link to the PC.
The tty driver figures out the characters and sends them down to the
line discipline layer. The line discipline will wake the user process
from that event.
At least in 2.6 the tty driver isn't doing batching for keyboard
commands that I can see so it ought to be reasonably quick.
prev parent reply other threads:[~2004-11-10 19:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-10 12:58 Tom Schouten
2004-11-10 18:35 ` Alan Cox [this message]
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=1100111756.20556.21.camel@localhost.localdomain \
--to=alan@lxorguk.ukuu.org.uk \
--cc=doelie@zzz.kotnet.org \
--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
all inboxes | Powered by JetHome®