Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1762839AbYCCVQ7 (ORCPT ); Mon, 3 Mar 2008 16:16:59 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753036AbYCCVQq (ORCPT ); Mon, 3 Mar 2008 16:16:46 -0500 Received: from relay2.sgi.com ([192.48.171.30]:52363 "EHLO relay.sgi.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752664AbYCCVQp (ORCPT ); Mon, 3 Mar 2008 16:16:45 -0500 Date: Mon, 3 Mar 2008 13:16:44 -0800 (PST) From: Christoph Lameter X-X-Sender: clameter@schroedinger.engr.sgi.com To: Nick Piggin cc: netdev@vger.kernel.org, Linux Kernel Mailing List , yanmin_zhang@linux.intel.com, David Miller , Eric Dumazet Subject: Re: [rfc][patch 1/3] slub: fix small HWCACHE_ALIGN alignment In-Reply-To: <20080303201701.GF8974@wotan.suse.de> Message-ID: References: <20080303093449.GA15091@wotan.suse.de> <20080303200613.GC8974@wotan.suse.de> <20080303201701.GF8974@wotan.suse.de> 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: 639 Lines: 17 On Mon, 3 Mar 2008, Nick Piggin wrote: > > HWCACHE_ALIGN means that you want the object to be aligned at > > cacheline boundaries for optimization. Why does crossing cacheline > > boundaries matter in this case? > > No, HWCACHE_ALIGN means that you want the object not to cross cacheline > boundaries for at least cache_line_size() bytes. You invented new Interesting new definition.... -- 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/