Re: Linus... (or anyone) and timeloss in joystick driver.

Matthias Urlichs (urlichs@smurf.noris.de)
27 Jun 1995 13:56:09 +0200


In linux.dev.kernel, article <3snev9$lpf@newsserv.zdv.uni-tuebingen.de>,
koenig@tat.physik.uni-tuebingen.de (Harald Koenig) writes:
>
> > I don't think the loss of 3.4 ms is THAT important to the joystick driver.
>
> one character at 38400 baud is 0.26 ms, so in 3.4ms one serial line
> could receive ~13 characters! even with a 16550A uart with 16 byte FIFO
> this might result in lost characters!
>
Note that the example was a delay of a "normal" program by the console
interrupt. Since presumably the console interrupt is "slow" and the RS232
interrupt is "fast", there'd be no data loss.

-- 
Oh, her bridal bower becomes a burial beir of bitter beauty.
                -- Sondheim's "A Funny Thing Happened on the Way to the Forum"
-- 
Matthias Urlichs        \ XLink-POP Nürnberg  | EMail: urlichs@smurf.noris.de
Schleiermacherstraße 12  \  Unix+Linux+Mac    | Phone: ...please use email.
90491 Nürnberg (Germany)  \   Consulting+Networking+Programming+etc'ing     42
          PGP: 1B 89 E2 1C 43 EA 80 44  15 D2 29 CF C6 C7 E0 DE 
      Click <A HREF="http://smurf.noris.de/~urlichs/finger">here</A>.