[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 3 Mar 2008 11:06:55 -0800 (PST)
From: Christoph Lameter <clameter@....com>
To: Nick Piggin <npiggin@...e.de>
cc: netdev@...r.kernel.org,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
yanmin_zhang@...ux.intel.com, David Miller <davem@...emloft.net>,
Eric Dumazet <dada1@...mosbay.com>
Subject: Re: [rfc][patch 2/3] slab: introduce SMP alignment
On Mon, 3 Mar 2008, Nick Piggin wrote:
> Introduce SLAB_SMP_ALIGN, for allocations where false sharing must be
> minimised on SMP systems.
Mandatory alignment are specified as a parameter to kmem_cache_create not
as flags. Ycan specify the alignment as a parameter. i.e. L1_CACHE_BYTES
or cache_line_size().
Maybe we should drop SLAB_HWCACHE_ALIGN because of the confusion is
creates because it seems that flags can be used to enforce alignments?
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists