Re: scsi: fix sense_slab/bio swapping livelock

From: Pekka Enberg
Date: Mon Apr 07 2008 - 06:18:14 EST


Hi Boaz,

On Mon, Apr 7, 2008 at 1:07 PM, Boaz Harrosh <bharrosh@xxxxxxxxxxx> wrote:
> Please forgive my ignorance, but what is then the difference between kmem_cache_alloc()
> and kmalloc?

Constructors, user-defined alignment, and tighter object packing.

On Mon, Apr 7, 2008 at 1:07 PM, Boaz Harrosh <bharrosh@xxxxxxxxxxx> wrote:
> would you not agree that sometimes we want to override that sharing of SLOBs?

To be honest, I really don't quite understand your use-case. But as
far as I can tell, it hasn't never been explicitly guaranteed and most
certainly has not been true since the merging of SLOB and more
recently SLUB.

Pekka
--
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/