[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <84144f020902130541n6de09d7brb455d0879b62af71@mail.gmail.com>
Date: Fri, 13 Feb 2009 15:41:29 +0200
From: Pekka Enberg <penberg@...helsinki.fi>
To: Giuseppe CAVALLARO <peppe.cavallaro@...com>
Cc: Paul Mundt <lethal@...ux-sh.org>, linux-kernel@...r.kernel.org,
linux-sh@...r.kernel.org, linux-mm@...r.kernel.org,
Christoph Lameter <cl@...ux-foundation.org>
Subject: Re: [PATCH] slab: fix slab flags for archs use alignment larger
64-bit
Hi Giuseppe,
On Fri, Feb 13, 2009 at 4:11 PM, Giuseppe CAVALLARO
<peppe.cavallaro@...com> 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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists