Re: [PATCH] slab: fix slab flags for archs use alignment larger 64-bit

From: Giuseppe CAVALLARO
Date: Wed Feb 18 2009 - 03:31:21 EST


Hi Pekka,
Pekka Enberg wrote:
> 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
>
Sorry for my late reply.
You are right.
I'm going to review this but this could take a while.
I'll go back to you as soon as possible.
Regards,
Peppe
//
--
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/