LWN.net Logo

input: evdev: Dynamic buffers (rev5)

From:  "Henrik Rydberg" <rydberg@euromail.se>
To:  Dmitry Torokhov <dmitry.torokhov@gmail.com>
Subject:  [PATCH 0/4] input: evdev: Dynamic buffers (rev5)
Date:  Wed, 23 Jun 2010 13:14:41 +0200
Message-ID:  <1277291686-7153-1-git-send-email-rydberg@euromail.se>
Cc:  linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, Jiri Kosina <jkosina@suse.cz>, Ping Cheng <pingc@wacom.com>, Benjamin Tissoires <tissoire@cena.fr>, Chase Douglas <chase.douglas@canonical.com>, Rafi Rubin <rafi@seas.upenn.edu>, Henrik Rydberg <rydberg@euromail.se>
Archive-link:  Article, Thread

Hi Dmitry,

Please find enclosed the fifth version of the evdev buffer patches.

In this version, the buffer scheme is left intact, leaving a single
patch to make the client buffers dynamic. Mostly harmless.

The rest of the patches are rebased versions of what has already been
sent, and summarizes what seems to be needed to fix the original
buffer problem. The last patch is a bonus which fixes an old bug.

Thanks,
Henrik

Henrik Rydberg (5):
  input: evdev: Convert to dynamic event buffer (rev5)
  input: Use driver hint to compute the evdev buffer size (rev3)
  input: bcm5974: Set the average number of events per MT event packet
  hid-input: Use a larger event buffer for MT devices
  input: evdev: Never leave the client buffer empty after write

 drivers/hid/hid-input.c       |    3 +++
 drivers/input/evdev.c         |   33 ++++++++++++++++++++++++++++-----
 drivers/input/mouse/bcm5974.c |    2 ++
 include/linux/input.h         |   17 +++++++++++++++++
 4 files changed, 50 insertions(+), 5 deletions(-)

--
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/

Copyright © 2010, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds