On Fri, May 12, 2006 at 10:03:01PM +0100, Russell King wrote: > The block layer holds on to a reference to a struct device which > isn't refcounted (until I added it with my patch.) Hence struct > gendisk structures have a completely independent lifetime and are > only destroyed when all references to them are removed. Yes, they are and that's intentional. Can you explain WTF do you drop that reference so late and not in the del_gendisk() time? - 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/
- References:
- Re: [BUG 2.6.17-git] kmem_cache_create: duplicate cache scsi_cmd_cache
- From: Erik Mouw <[email protected]>
- Re: [BUG 2.6.17-git] kmem_cache_create: duplicate cache scsi_cmd_cache
- From: Linus Torvalds <[email protected]>
- Re: [BUG 2.6.17-git] kmem_cache_create: duplicate cache scsi_cmd_cache
- From: James Bottomley <[email protected]>
- Re: [BUG 2.6.17-git] kmem_cache_create: duplicate cache scsi_cmd_cache
- From: James Bottomley <[email protected]>
- Re: [BUG 2.6.17-git] kmem_cache_create: duplicate cache scsi_cmd_cache
- From: Linus Torvalds <[email protected]>
- Re: [BUG 2.6.17-git] kmem_cache_create: duplicate cache scsi_cmd_cache
- From: Russell King <[email protected]>
- Re: [BUG 2.6.17-git] kmem_cache_create: duplicate cache scsi_cmd_cache
- From: Greg KH <[email protected]>
- Re: [BUG 2.6.17-git] kmem_cache_create: duplicate cache scsi_cmd_cache
- From: Russell King <[email protected]>
- Re: [BUG 2.6.17-git] kmem_cache_create: duplicate cache scsi_cmd_cache
- Prev by Date: Re: [BUG 2.6.17-git] kmem_cache_create: duplicate cache scsi_cmd_cache
- Next by Date: Re: network freeze with nforce-A939 integrated rhine card
- Previous by thread: Re: [BUG 2.6.17-git] kmem_cache_create: duplicate cache scsi_cmd_cache
- Next by thread: Re: [BUG 2.6.17-git] kmem_cache_create: duplicate cache scsi_cmd_cache
- Index(es):