[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <84144f020703210527x591d58c6i9ae7919d2dde8256@mail.gmail.com>
Date: Wed, 21 Mar 2007 14:27:31 +0200
From: "Pekka Enberg" <penberg@...helsinki.fi>
To: "Eric Dumazet" <dada1@...mosbay.com>
Cc: "Andi Kleen" <andi@...stfloor.org>,
"Andrew Morton" <akpm@...ux-foundation.org>,
"Christoph Lameter" <christoph@...eter.com>,
"linux kernel" <linux-kernel@...r.kernel.org>
Subject: Re: [RFC, PATCH] SLAB : [NUMA] keep nodeid in struct page instead of struct slab
On 3/21/07, Eric Dumazet <dada1@...mosbay.com> wrote:
> +#ifdef KEEP_NODEID_IN_PAGE
> + /* kmem_cache addresses must be multiple of 64 */
> + cache_cache.buffer_size = ALIGN(cache_cache.buffer_size,
> + max(64, cache_line_size()));
> +#else
> cache_cache.buffer_size = ALIGN(cache_cache.buffer_size,
> cache_line_size());
> +#endif
Please introduce cache_cache_align() to hide the #ifdeffing.
-
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