Re: [PATCH] scsi: fix sense_slab/bio swapping livelock

From: Linus Torvalds
Date: Mon Apr 07 2008 - 18:18:59 EST




On Tue, 8 Apr 2008, Pekka J Enberg wrote:
>
> So something like the following (totally untested) patch modulo the
> pre-allocation bits.

Hmm. I didn't check, but won't this cause problems on the freeing path
when we call kmem_cache_free() on the result but with the wrong "struct
kmem_cache" pointer?

Linus
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/