Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756963AbYCCTKJ (ORCPT ); Mon, 3 Mar 2008 14:10:09 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757263AbYCCTJx (ORCPT ); Mon, 3 Mar 2008 14:09:53 -0500 Received: from relay1.sgi.com ([192.48.171.29]:35951 "EHLO relay.sgi.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753184AbYCCTJw (ORCPT ); Mon, 3 Mar 2008 14:09:52 -0500 Date: Mon, 3 Mar 2008 11:09:51 -0800 (PST) From: Christoph Lameter X-X-Sender: clameter@schroedinger.engr.sgi.com To: Pekka Enberg cc: Nick Piggin , Eric Dumazet , netdev@vger.kernel.org, Linux Kernel Mailing List , yanmin_zhang@linux.intel.com, David Miller Subject: Re: [rfc][patch 3/3] use SLAB_ALIGN_SMP In-Reply-To: <84144f020803030553s35a40dd8yf88585ccd5a599fd@mail.gmail.com> Message-ID: References: <20080303093449.GA15091@wotan.suse.de> <20080303093624.GC15091@wotan.suse.de> <47CBCAB0.2040604@cosmosbay.com> <20080303124142.GB13138@wotan.suse.de> <47CBF683.10201@cosmosbay.com> <20080303134622.GD13138@wotan.suse.de> <84144f020803030553s35a40dd8yf88585ccd5a599fd@mail.gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 656 Lines: 15 On Mon, 3 Mar 2008, Pekka Enberg wrote: > At least historically SLAB_HWCACHE_ALIGN has been just a hint, > although slab tries very hard to satisfy it (see the comments in > mm/slab.c). Why do we need stronger guarantees than that, btw? Its a hint. Alignment is specified as a parameter to kmem_cache_create not as a flag. Maybe we could remove SLAB_HWCACHE_ALIGN because it is causing so much confusion? -- 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/