From: Murilo Pontes <murilo_pontes@yahoo.com.br>
To: linux-kernel@vger.kernel.org
Cc: Vojtech Pavlik <vojtech@suse.cz>
Subject: Re: psmouse.c, throwing 3 bytes away
Date: Thu, 5 Feb 2004 19:08:21 +0000 [thread overview]
Message-ID: <200402051908.22071.murilo_pontes@yahoo.com.br> (raw)
In-Reply-To: <20040205203840.GA13114@ucw.cz>
Em Qui 05 Fev 2004 20:59, você escreveu:
> The exception seems to be coming from
> linux-2.6.2/drivers/input/mouse/psmouse-base.c, specifically from
>
> if (psmouse->state == PSMOUSE_ACTIVATED &&
> psmouse->pktcnt && time_after(jiffies, psmouse->last +
> HZ/2)) {
> printk(KERN_WARNING "psmouse.c: %s at %s lost
> synchronization, throwing %d bytes away.\n",
> psmouse->name, psmouse->phys, psmouse->pktcnt);
> psmouse->pktcnt = 0;
> }
>
>
> where (for me) HZ is 1804768000, and therefore HZ/2 is 902384000,
> psmouse->pktcnt is 3, and (I assume) PSMOUSE_ACTIVATED is non-0 after
> boot. I assume that pktcnt is fed by interrupt, and the problem then is
> that psmouse->last + HZ/2 blows past the jiffies value, causing the
> warning message to be issued. When mouse service finally comes back,
> pktcnt is non-zero (and possibly whatever the maximum is that it will
> hold), and when it flushes, the mouse pointer goes nuts for a second.
> The real problem then, is why does the sum of ps->last + HZ/2 grow to
> beyond the size of jiffies (or what is delaying the mouse service)?
>
> This is just a rough guesstimate of what is going on, but seems to fit
> the facts. Cheers!
>
> Bob
Always in heavy load(like c++ compiling, high volume of VM operations),
kernel jiffies are more large or short delay....
Bug is solved?
I am open to receive patchs for test!
Please send when avaliable!
Thanks
next prev parent reply other threads:[~2004-02-05 22:08 UTC|newest]
Thread overview: 53+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-05 2:20 psmouse.c, throwing 3 bytes away Walt Nelson
2004-02-05 4:54 ` Claudio Martins
2004-02-05 10:20 ` Isaac Claymore
2004-02-09 6:15 ` Isaac Claymore
2004-02-09 9:09 ` Vojtech Pavlik
2004-02-09 9:49 ` Isaac Claymore
2004-02-09 9:52 ` Vojtech Pavlik
2004-02-05 13:40 ` Michael Buesch
2004-02-05 15:31 ` johann lombardi
2004-02-05 5:05 ` Mike Houston
2004-02-05 17:24 ` Murilo Pontes
2004-02-05 20:38 ` Vojtech Pavlik
2004-02-05 18:14 ` Murilo Pontes
2004-02-05 19:08 ` Murilo Pontes [this message]
2004-02-05 21:06 ` Michael Buesch
2004-02-05 22:10 ` Mike Houston
2004-02-06 7:15 ` Mike Houston
2004-02-06 8:06 ` Walt Nelson
2004-02-07 5:47 ` Mike Houston
2004-02-07 9:11 ` Murilo Pontes
2004-02-08 21:59 ` Vojtech Pavlik
2004-02-08 22:19 ` aeriksson
2004-02-08 22:32 ` Vojtech Pavlik
[not found] ` <20040208221933.92D0B3F1B-hJetzOkQQ2D26ODOwDBsm7iufofboIZS@public.gmane.org>
2004-02-08 23:03 ` Bernd Schubert
2004-02-08 23:03 ` Bernd Schubert
[not found] ` <20040208230314.GA21937-XPbICIHHaRhIi1TGZYQs7PQvEQgnY+0MepZhswDD4dQ@public.gmane.org>
2004-02-08 23:30 ` Vojtech Pavlik
2004-02-08 23:30 ` Vojtech Pavlik
[not found] ` <20040208233052.GA17570-+ZI9xUNit7I@public.gmane.org>
2004-02-09 12:43 ` roychris
2004-02-09 22:25 ` Bernd Schubert
2004-02-09 15:12 ` roychris
2004-02-09 0:48 ` [patch] " Vojtech Pavlik
2004-02-09 1:13 ` Claudio Martins
2004-02-09 1:23 ` Vojtech Pavlik
2004-02-10 2:56 ` Greg Norris
2004-02-10 7:07 ` Vojtech Pavlik
2004-02-10 7:39 ` Walt Nelson
2004-02-10 19:48 ` Greg Norris
2004-02-10 20:08 ` Vojtech Pavlik
2004-02-10 7:33 ` johann lombardi
2004-02-10 21:11 ` Murilo Pontes
2004-02-11 4:44 ` Claudio Martins
2004-02-06 0:33 ` Pete Clements
2004-02-06 22:44 ` Kronos
2004-02-07 2:35 ` Jamie Lokier
2004-02-07 4:19 ` Gene Heskett
-- strict thread matches above, loose matches on Subject: below --
2004-02-05 6:18 Bob Gill
2004-02-05 21:56 Luis Miguel García
2004-02-05 19:33 ` Murilo Pontes
2004-02-06 7:02 ` Claudio Martins
2004-02-06 10:12 ` Christian Unger
2004-02-06 17:52 ` Adrian Bunk
2004-02-06 18:03 ` Michael Buesch
2004-02-06 21:49 ` Claudio Martins
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=200402051908.22071.murilo_pontes@yahoo.com.br \
--to=murilo_pontes@yahoo.com.br \
--cc=linux-kernel@vger.kernel.org \
--cc=vojtech@suse.cz \
/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.