Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755243Ab0FOJna (ORCPT ); Tue, 15 Jun 2010 05:43:30 -0400 Received: from ch-smtp03.sth.basefarm.net ([80.76.149.214]:45215 "EHLO ch-smtp03.sth.basefarm.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754605Ab0FOJn2 (ORCPT ); Tue, 15 Jun 2010 05:43:28 -0400 Message-ID: <4C174B31.6040403@euromail.se> Date: Tue, 15 Jun 2010 11:43:13 +0200 From: Henrik Rydberg User-Agent: Thunderbird 2.0.0.24 (X11/20100411) MIME-Version: 1.0 To: Dmitry Torokhov CC: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, Jiri Kosina , Mika Kuoppala , Benjamin Tissoires , Rafi Rubin Subject: Re: [PATCH 0/3] input: evdev: Dynamic buffers (rev4) References: <1275735869-2185-1-git-send-email-rydberg@euromail.se> <201006101211.51395.dmitry.torokhov@gmail.com> In-Reply-To: <201006101211.51395.dmitry.torokhov@gmail.com> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-Originating-IP: 83.248.196.134 X-Scan-Result: No virus found in message 1OOSft-0001K9-C1. X-Scan-Signature: ch-smtp03.sth.basefarm.net 1OOSft-0001K9-C1 f3e970fce2e689a5267b886ce680f05f Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1757 Lines: 45 Dmitry Torokhov wrote: > On Saturday, June 05, 2010 04:04:26 am Henrik Rydberg wrote: >> 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. > > Henrik, > > Applied to .36 queue with minor adjustments, please take a peek in my > 'for-linus' branch and see if you spot anything wrong. We are talking about your tree @kernel.org, right? Nothing appeared there... > The changes have > been made with an eye of implementing a per-client event filters which > would again require using private event queues (but only by clients that > request filtering). Would not having the separate reader tails suffice? Implementing the filtering during client read? > The desire for allowing event filtering in kernel is to avoid waking up > HAL-ish processes (ones that only interested in certain special events, > like KEY_SUSPEND, KEY_WIFI, KEY_MUTE, etc) needlessly. Not sure if I am > going to have time to actually implement it though, anyone wants to > take a stab? I see. Something like a lovely new ioctl() command, setting the evbits on a per client basis? Henrik -- 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/