From mboxrd@z Thu Jan 1 00:00:00 1970 From: greg@kroah.com (Greg KH) Date: Sun, 20 Jul 2014 21:22:51 -0700 Subject: How to prevent a module from unloading when in used In-Reply-To: References: <20140716130919.GA16611@vega.jjdev.com> <20140716162128.GB20335@kroah.com> <20140718041714.GA32696@kroah.com> Message-ID: <20140721042251.GA4787@kroah.com> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org 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