Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JzTbX-0001n5-IH for qemu-devel@nongnu.org; Fri, 23 May 2008 05:30:27 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JzTbU-0001mV-RP for qemu-devel@nongnu.org; Fri, 23 May 2008 05:30:27 -0400 Received: from [199.232.76.173] (port=37277 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JzTbU-0001mO-CV for qemu-devel@nongnu.org; Fri, 23 May 2008 05:30:24 -0400 Received: from smtp02.citrix.com ([66.165.176.63]:41870) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JzTbT-0008Th-Sf for qemu-devel@nongnu.org; Fri, 23 May 2008 05:30:24 -0400 Received: from mariner.uk.xensource.com ([10.80.2.22]) by smtp01.ad.xensource.com (8.13.1/8.13.1) with ESMTP id m4N9UJVY019665 for ; Fri, 23 May 2008 02:30:20 -0700 Received: from iwj by mariner.uk.xensource.com with local (Exim 4.63) (envelope-from ) id 1JzTbN-0005nm-25 for qemu-devel@nongnu.org; Fri, 23 May 2008 10:30:17 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18486.36521.3942.115618@mariner.uk.xensource.com> Date: Fri, 23 May 2008 10:30:17 +0100 Subject: Re: [Qemu-devel] Mouse click queue patch In-Reply-To: References: <200805212336.11898.assirati@nonada.if.usp.br> <18485.18963.187147.341797@mariner.uk.xensource.com> From: Ian Jackson Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org andrzej zaborowski writes ("Re: [Qemu-devel] Mouse click queue patch"): > On 22/05/2008, Ian Jackson wrote: > > My patch is entirely in usb-hid. It queues events, coalescing > > Why should it be in usb-hid? It is a generic issue. Good question. Ultimately because the way the queue is read is very intertwined with the limits on sizes in USB packets. It would be quite feasible to split it up and have the rest not be in usb-hid. But if I do that, to avoid a great deal of unnecessary to-ing and fro-ing, the little queue still wants to be a transparent structure rather than an opaque one. Ian.