Dmitry, Please find enclosed the fourth version of the evdev buffer patches. This version implements buffer locking using event_lock as you suggested, such that we can proceed with fixing the evdev buffer problem independently from providing a suitable one-to-many buffer. The first patch converts the per-client buffers to a common buffer, and adds a fixme since the code is expected to be further improved. The second and third patch includes your review comments. Thanks, Henrik --- Henrik Rydberg (3): input: evdev: Use multi-reader buffer to save space (rev4) input: evdev: Convert to dynamic event buffer (rev4) input: Use driver hint to compute the evdev buffer size (rev2) drivers/input/evdev.c | 68 +++++++++++++++++++++++++++++++++---------------- include/linux/input.h | 17 ++++++++++++ 2 files changed, 63 insertions(+), 22 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