How to prevent a module from unloading when in used

Greg KH greg at kroah.com
Mon Jul 21 00:22:51 EDT 2014


On Mon, Jul 21, 2014 at 09:09:02AM +0530, Chetan Nanda wrote:
> I try to debug the hang when unloading of driver. I am using kernel v3.10
> and it hangs in 'wait_for_zero_refcount'.
> I checked that this function has been removed in kernel 3.13.
> But I am not able to find the patch for this change.
> 
> Is there an easy way to find the patch which cause removal of wait from
> module unloading in v3.13.

You have the full git tree, it should be very easy to find, you don't
need help from me.

good luck,

greg k-h



More information about the Kernelnewbies mailing list