From: Greg KH Subject: Re: [RFC] Input: Remove unsafe device module references Date: Tue, 1 Nov 2011 11:00:39 -0700 Message-ID: <20111101180038.GB4241@suse.de> References: <1320162100-13494-1-git-send-email-dh.herrmann@googlemail.com> <20111101170156.GA8925@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from cantor2.suse.de ([195.135.220.15]:58433 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754374Ab1KASBt (ORCPT ); Tue, 1 Nov 2011 14:01:49 -0400 Content-Disposition: inline In-Reply-To: Sender: linux-input-owner@vger.kernel.org List-Id: linux-input@vger.kernel.org To: David Herrmann Cc: linux-input@vger.kernel.org, dmitry.torokhov@gmail.com, linux-kernel@vger.kernel.org On Tue, Nov 01, 2011 at 06:52:11PM +0100, David Herrmann wrote: > My solution: Some parent subsystem of us must take and release this > module-refcnt instead of us, so this bug doesn't occur. Yes, that is the ultimate solution for something like this. But, in reality, we don't care about module unloading races as there are plenty of other issues involved there where things can go bad, so we just try the best we can :) thanks, greg k-h