On Thu, Jun 27, 2013 at 08:36:12AM -0700, Greg KH wrote: > On Thu, Jun 27, 2013 at 03:06:14PM +0100, Russell King wrote: > > Greg, > > > > This is an updated copy of my delayed kobject release debugging patch > > from 2011, which I notice hasn't hit mainline. Please consider merging > > this so that driver authors and subsystem maintainers have a way to test > > code for kobject refcounting errors. > > > > Moreover, please also consider whether to make the debug option default > > to 'y' when CONFIG_DEBUG_KERNEL is enabled. > > Nice, I had forgotten about this code. Have you run it in a while to > see if things still work well?
Not since I originally posted it, and had other people use it to find bugs a few years ago. Since then it's virtually unchanged - the changes are basically introducing the config option rather than the fixed #define in the header file enabling it, and changing a pr_info() to a pr_debug(). The patch applied with just a few lines of offset too, and I did build test it before sending in both enabled and disabled states. -- Russell King Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/ maintainer of: -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

