Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754234AbYCCUER (ORCPT ); Mon, 3 Mar 2008 15:04:17 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753928AbYCCUD6 (ORCPT ); Mon, 3 Mar 2008 15:03:58 -0500 Received: from mx1.suse.de ([195.135.220.2]:42180 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753864AbYCCUD5 (ORCPT ); Mon, 3 Mar 2008 15:03:57 -0500 Date: Mon, 3 Mar 2008 21:03:55 +0100 From: Nick Piggin To: Christoph Lameter Cc: netdev@vger.kernel.org, Linux Kernel Mailing List , yanmin_zhang@linux.intel.com, David Miller , Eric Dumazet Subject: Re: [rfc][patch 2/3] slab: introduce SMP alignment Message-ID: <20080303200355.GB8974@wotan.suse.de> References: <20080303093449.GA15091@wotan.suse.de> <20080303093529.GB15091@wotan.suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.9i Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 760 Lines: 22 On Mon, Mar 03, 2008 at 11:06:55AM -0800, Christoph Lameter wrote: > 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. Not after this patch. > Ycan specify the alignment as a parameter. i.e. L1_CACHE_BYTES > or cache_line_size(). We don't want either of those, though. I don't see why this is a problem to do inside slab. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/