<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jul 21, 2014 at 9:52 AM, Greg KH <span dir="ltr">&lt;<a href="mailto:greg@kroah.com" target="_blank">greg@kroah.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class="">On Mon, Jul 21, 2014 at 09:09:02AM +0530, Chetan Nanda wrote:<br>

&gt; I try to debug the hang when unloading of driver. I am using kernel v3.10<br>
&gt; and it hangs in &#39;wait_for_zero_refcount&#39;.<br>
&gt; I checked that this function has been removed in kernel 3.13.<br>
&gt; But I am not able to find the patch for this change.<br>
&gt;<br>
&gt; Is there an easy way to find the patch which cause removal of wait from<br>
&gt; module unloading in v3.13.<br>
<br>
</div>You have the full git tree, it should be very easy to find, you don&#39;t<br>
need help from me.<br>
<br></blockquote><div>Hi Greg,</div><div><br></div><div>Thanks for your mail, </div><div><br></div><div>I have found a thread with the discussion and a patch for removing the wait_for_zero_refcount from module unloading, But not able to find this patch being merged on v3.13. (have checked all patches between 3.12 and 3.13)</div>
<div><a href="http://www.gossamer-threads.com/lists/linux/kernel/1783584?do=post_view_threaded#1783584">http://www.gossamer-threads.com/lists/linux/kernel/1783584?do=post_view_threaded#1783584</a><br></div><div><br></div>
<div>Thanks,<br></div><div>Chetan Nanda</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
good luck,<br>
<br>
greg k-h<br>
</blockquote></div><br></div></div>