From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Walker Subject: Re: try_module_get and friends Date: Wed, 05 Mar 2008 12:28:14 -0800 Message-ID: <1204748894.17630.15.camel@localhost.localdomain> References: <1204608058.11912.3.camel@perihelion> <1204608506.11912.9.camel@perihelion> <1204661228.8244.15.camel@jcmlaptop> <1204745455.17630.8.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Cc: Jon Masters , linux-rt-users , Ingo Molnar , Thomas Gleixner To: Steven Rostedt Return-path: Received: from gateway-1237.mvista.com ([63.81.120.158]:38578 "EHLO gateway-1237.mvista.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752813AbYCEU2P (ORCPT ); Wed, 5 Mar 2008 15:28:15 -0500 In-Reply-To: Sender: linux-rt-users-owner@vger.kernel.org List-ID: On Wed, 2008-03-05 at 14:47 -0500, Steven Rostedt wrote: > Some device has an interrupt handler that is called and preempted. > At that moment the module for that device is unloaded. This calls things > like kstop_machine that should make sure that all interrupt handlers have > been resolved. But this does not work with -rt, since the interrupt > handlers can now be preempted and resume after the kstop_machine and the > moduling being unloaded. > > Since the code for the interrupt handler no longer exists... KABOOM! > > Enough details? yeah, you have to assume the device is not in use, but still handling interrupts? Daniel