Re: [PATCH] slab: fix slab flags for archs use alignment larger 64-bit
From: Pekka Enberg
Date: Fri Feb 13 2009 - 08:41:43 EST
Hi Giuseppe,
On Fri, Feb 13, 2009 at 4:11 PM, Giuseppe CAVALLARO
<peppe.cavallaro@xxxxxx> wrote:
> @@ -2262,7 +2266,7 @@ kmem_cache_create (const char *name, size_t size, size_t align,
> ralign = align;
> }
> /* disable debug if necessary */
> - if (ralign > __alignof__(unsigned long long))
> + if (ralign > ARCH_SLAB_MAX_DEBUG_ALIGN)
> flags &= ~(SLAB_RED_ZONE | SLAB_STORE_USER);
> /*
> * 4) Store it.
This doesn't address the issues raised by Paul at all.
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/