From: anton wilson <anton.wilson@camotion.com>
To: Andries Brouwer <aebr@win.tue.nl>, Dan Parks <Dan.Parks@camotion.com>
Cc: Linux-Kernel <linux-kernel@vger.kernel.org>
Subject: Re: Keystrokes, USB, and Latency
Date: Tue, 11 Feb 2003 10:28:35 -0500 [thread overview]
Message-ID: <200302111509.KAA03238@ns.nealtech.net> (raw)
In-Reply-To: <20030210221655.GA3875@win.tue.nl>
On Monday 10 February 2003 05:16 pm, Andries Brouwer wrote:
> On Mon, Feb 10, 2003 at 03:05:22PM -0500, Dan Parks wrote:
> > ... However, if the user presses caps
> > lock, num lock, or scroll lock (everything else is ok), it ALWAYS misses
> > 7-8 milliseconds.
>
> You didnt mention a kernel version, and details very much depend on it.
> But you may look into LED setting, and e.g. whether interrupts are
> disabled during LED setting.
linux 2.4.19 - preempt - low latency O(1)
Yes, interrupts are disabled, and the code is sprinkled with loops and mdelay
calls while interrupts are disabled. I'm roughly and probably inaccurately
estimating that in the worst case the pc_keyb driver could call mdelay about
25000 times before giving up with interrupts disabled. What's the best way to
avoid the slow behaviour of the led lights if we don't care about numlock,
capslock, or scroll lock?
Anton
> -
> 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/
prev parent reply other threads:[~2003-02-11 14:59 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-02-10 20:05 Dan Parks
2003-02-10 22:16 ` Andries Brouwer
2003-02-11 15:28 ` anton wilson [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=200302111509.KAA03238@ns.nealtech.net \
--to=anton.wilson@camotion.com \
--cc=Dan.Parks@camotion.com \
--cc=aebr@win.tue.nl \
--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
Powered by JetHome