All of lore.kernel.org
 help / color / mirror / Atom feed
From: Vojtech Pavlik <vojtech@suse.cz>
To: Dmitry Torokhov <dtor_core@ameritech.net>
Cc: linux-kernel@vger.kernel.org, Andrew Morton <akpm@osdl.org>
Subject: Re: [PATCH 2.6] Mousedev - better button handling under load
Date: Sun, 6 Jun 2004 11:58:43 +0200	[thread overview]
Message-ID: <20040606095843.GC1646@ucw.cz> (raw)
In-Reply-To: <200406050249.02523.dtor_core@ameritech.net>

On Sat, Jun 05, 2004 at 02:49:00AM -0500, Dmitry Torokhov wrote:
> Hi,
> 
> Currently mousedev combines all hardware motion data that arrivers since
> last time userspace read data into one cooked PS/2 packet. The problem is
> that under heavy or even moderate load, when userspace can't read data
> quickly enough, we start loosing valuable data which manifests in:
> 
> - ignoring buton presses as by the time userspace gets to read the data
>   button has already been released;
> - click starts in wrong place - by the time userspace got aroungd and read
>   the packet mouse moved half way across the screen.
> 
> The patch below corrects the issue - it will start accumulating new packet
> every time userspace is behind and button set changes. Size of the buffer
> is 16 packets, i.e. up to 8 pairs of press/release events which should be
> more than enough.
> 
> The patch is against Vojtech's tree and shuld apply to -mm. I also have
> cumulative mousedev patch done against 2.6.7-pre2 at:
> 
> http://www.geocities.com/dt_or/input/misc/mousedev-2.6.7-rc2-cumulative.patch.gz

Thanks for this. Can I just pull from your tree, or is there more that I
shouldn't take?

-- 
Vojtech Pavlik
SuSE Labs, SuSE CR

  reply	other threads:[~2004-06-06  9:58 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-05  7:49 [PATCH 2.6] Mousedev - better button handling under load Dmitry Torokhov
2004-06-06  9:58 ` Vojtech Pavlik [this message]
2004-06-06 14:40   ` Dmitry Torokhov
2004-06-06 16:02     ` Vojtech Pavlik
2004-06-06 16:49       ` Dmitry Torokhov
2004-06-06 17:16         ` Vojtech Pavlik
  -- strict thread matches above, loose matches on Subject: below --
2004-07-08 13:25 David Balazic
2004-07-08 18:10 ` Dmitry Torokhov

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=20040606095843.GC1646@ucw.cz \
    --to=vojtech@suse.cz \
    --cc=akpm@osdl.org \
    --cc=dtor_core@ameritech.net \
    --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 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.