Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755413Ab0FODQF (ORCPT ); Mon, 14 Jun 2010 23:16:05 -0400 Received: from mail-px0-f174.google.com ([209.85.212.174]:48931 "EHLO mail-px0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750874Ab0FODPk (ORCPT ); Mon, 14 Jun 2010 23:15:40 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:cc:references:in-reply-to :mime-version:content-type:content-transfer-encoding:message-id; b=SoQQxKlApKOLFb3B73qahLI0gsVG47nkyHgMAB6X6RoKZ5DRk7nCxQrBjOzgVZ9Q/E /2omZidiqQhjurX0fqxXID7xpMMx/zuFH+eiJBdCDG1FmIi9cxSuD8N1sUR2u6PFDv0C SBdLGGL7rGYg5g3qNLRttkOb9O8QEPguUW5Sg= From: Dmitry Torokhov To: "Henrik Rydberg" Subject: Re: [PATCH 0/3] input: evdev: Dynamic buffers (rev4) Date: Thu, 10 Jun 2010 12:11:50 -0700 User-Agent: KMail/1.13.3 (Linux/2.6.35-rc2+; KDE/4.4.3; x86_64; ; ) Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, Jiri Kosina , Mika Kuoppala , Benjamin Tissoires , Rafi Rubin References: <1275735869-2185-1-git-send-email-rydberg@euromail.se> In-Reply-To: <1275735869-2185-1-git-send-email-rydberg@euromail.se> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201006101211.51395.dmitry.torokhov@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1425 Lines: 34 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. 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). 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? -- Dmitry -- 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/