From: Stas Sergeev <stsp@aknet.ru>
To: linux-msdos@vger.kernel.org
Subject: Re: 1.1.5.1-5 regressions and other bugs
Date: Fri, 18 Jul 2003 20:25:36 +0400 [thread overview]
Message-ID: <3F181F80.6030306@aknet.ru> (raw)
[-- Attachment #1: Type: text/plain, Size: 320 bytes --]
Hello.
Robert Komar wrote:
> The times between the slowdowns would get longer as I
> increased the hogthreshold, but would never go away
> entirely. Is this expected or a bug?
I guess the "bug" is too rough definition
for such a small issue.
Anyway the attached patch will probably make
it a bit better.
Does it help?
[-- Attachment #2: m_sleep.diff --]
[-- Type: text/plain, Size: 650 bytes --]
--- src/base/async/int.c Thu Jul 17 20:48:51 2003
+++ src/base/async/int.c Fri Jul 18 20:17:04 2003
@@ -1790,9 +1790,10 @@
/* Ok now we test to see if the mouse has been taking a break and we can let the
* system get on with some real work. :-) */
if (trigger1 >= config.hogthreshold*200) {
- if (config.hogthreshold && CAN_SLEEP() && ++trigger >= config.hogthreshold) {
+ if (config.hogthreshold && CAN_SLEEP() &&
+ trigger++ > (config.hogthreshold - 1) * 20) {
m_printf("Ignoring the quiet mouse.\n");
- usleep(INT2F_IDLE_USECS);
+ usleep(INT15_IDLE_USECS);
trigger=0;
}
trigger1--;
next reply other threads:[~2003-07-18 16:25 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-07-18 16:25 Stas Sergeev [this message]
2003-07-19 20:04 ` 1.1.5.1-5 regressions and other bugs Robert Komar
-- strict thread matches above, loose matches on Subject: below --
2003-07-19 22:05 Stas Sergeev
2003-07-18 16:09 Stas Sergeev
[not found] ` <20030719101122.GA29021@quark.fsb.hr>
2003-07-19 10:12 ` Vedran Rodic
2003-07-17 17:58 Stas Sergeev
2003-07-17 19:07 ` Vedran Rodic
2003-07-17 19:13 ` Robert Komar
2003-07-17 15:52 Stas Sergeev
2003-07-17 16:48 ` Vedran Rodic
2003-07-16 19:45 Vedran Rodic
2003-07-17 20:10 ` Bart Oldeman
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=3F181F80.6030306@aknet.ru \
--to=stsp@aknet.ru \
--cc=linux-msdos@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.