[PATCH 0/3] input: evdev: Dynamic buffers (rev2)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ok, second version of the evdev buffer patches.

In the first patch, the locking has been completely reworked. The
buffer locking is now similar to seqlock, except the readers only
block while there is an update affecting the current read. Should be
fairly optimal, but we can always revert to seqlocks in case the
scatter of smp instructions feels inadequate.

The second patch only has trivial changes, and the third patch is
unchanged, but included for completeness.

Cheers,
Henrik

---

Henrik Rydberg (3):
  input: evdev: use multi-reader buffer to save space (rev2)
  input: evdev: convert to dynamic event buffer (rev2)
  input: use driver hint to compute the evdev buffer size

 drivers/input/evdev.c |   90 +++++++++++++++++++++++++++++++++---------------
 include/linux/input.h |    7 ++++
 2 files changed, 69 insertions(+), 28 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux