Anand Gurram <anandarao.gur...@gmail.com> writes: >>If the message just spits out a few times and then goes away it simply >>means that something is taking a while to cleanup and drop it's >>reference. > > The message just spits out few times and then goes away, I am trying > to debug why cleanup is taking long, > and where it is still referenced. Any pointers in debugging such > issues will be of great help.
The one thing I have done in the past is to instrument dev_hold and dev_put and look where in the code the stragglers are coming from (when I can reproduce the issue reliably). Sometimes people have addressed this class of issue with code review, but with a slow cleanup you can't catch this by finding a missing dev_put. It takes some creativity to find these as people rarely make the same mistake twice. Eric -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html