From: Oliver Neukum Subject: Re: cleanup of hiddev Date: Tue, 4 Nov 2008 16:12:21 +0100 Message-ID: <200811041612.22282.oliver@neukum.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: Received: from smtp-out003.kontent.com ([81.88.40.217]:37330 "EHLO smtp-out003.kontent.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752920AbYKDPMK (ORCPT ); Tue, 4 Nov 2008 10:12:10 -0500 In-Reply-To: Content-Disposition: inline Sender: linux-input-owner@vger.kernel.org List-Id: linux-input@vger.kernel.org To: Alan Stern Cc: Jiri Slaby , Jiri Kosina , linux-input@vger.kernel.org, linux-usb@vger.kernel.org Am Dienstag, 4. November 2008 16:00:06 schrieb Alan Stern: > On Tue, 4 Nov 2008, Oliver Neukum wrote: > > > Am Montag, 3. November 2008 20:58:11 schrieb Jiri Slaby: > > > Hi. > > > > > > > this is the cleanup of hiddev against current vanilla. What do you think? > > > > > > See my comments below. > > > > Hi, > > > > there still is a race of disconnect() with ioctl(). It seems like that > > code still operates under the assumption that both methods take > > BKL. Do you prefer a conservative fix with selective application of BKL > > or introduction of a new mutex? > > It's none of my business... but IMO we should try to move away from the > BKL as much as possible. This is true but hiddev is in a sense legacy code which should be replaced with hidraw, so I tend to fix it conservatively. Regards Oliver