[lkml]   [2004]   [Nov]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: 2.4 virtual terminal timing
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.
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.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 14:07    [W:0.040 / U:7.324 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site