Re: [BUG 2.6.17-git] kmem_cache_create: duplicate cache scsi_cmd_cache

James Bottomley
2006-05-12T17:47:43Z

On Fri, 2006-05-12 at 10:36 -0700, Linus Torvalds wrote:
> Ok, that's just _strange_. Clearly bisection picked the right commit,
> since:

I can guess what the problem is.

The kmem_cache_release is triggered from the device model release of the
host generic device. I suspect we've induced a tangle in here that
means scsi devices (and hence hosts) get deleted but never released.

I'll look at the release paths and see if I can work out what it is.

James