Am Mittwoch, 15. März 2006 16:34 schrieb Paul Fulghum:
> On Wed, 2006-03-15 at 16:17 +0100, Oliver Neukum wrote:
> > > Yes, this is removing the back link to the
> > > tty class device which also has a good reference count.
> > > So device (really the associated kobject) reference counting
> > > is not the problem.
> > 
> > This is an unproven conjecture. Kobjects have their own refcounts.
> > Could you extend the debugging printks to them?
> 
> Conjecture?
> 
> kobject is used to provide reference counting for device objects.
> Look at the printk patch. It prints the reference value of dev->kobj.
> 
> The values in Bob's syslog output *are* the kobject reference counts.
> 
> Look at drivers/core/core.c for put_device/get_device

Sorry, you are obviously right. In this case I am deeply puzzeled.
Everything appears as it should.

        Regards
                Oliver


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to