Re: [patch 2/2] slab: always consider arch mandated alignment

From: Pekka J Enberg
Date: Thu Jul 27 2006 - 01:45:11 EST

On Thu, 27 Jul 2006, Pekka J Enberg wrote:
> Yes and that's what we have been saying all along. When you want
> performance, you use SLAB_HWCACHE_ALIGN and let the allocator do its job.
> I don't see much point from API point of view for the caller to explicitly
> ask for a given alignment and then in addition pass a 'yes I really meant'

Btw, /proc/slabinfo for UML with defconfig reveals change for only one
cache with my patch applied. The 'dquot' cache is created by dquot_init in
fs/dquot.c and doesn't really seem to need the alignment for anything...

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at