Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757096Ab0DAPxm (ORCPT ); Thu, 1 Apr 2010 11:53:42 -0400 Received: from nlpi129.sbcis.sbc.com ([207.115.36.143]:56233 "EHLO nlpi129.prodigy.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756658Ab0DAPxg (ORCPT ); Thu, 1 Apr 2010 11:53:36 -0400 Date: Thu, 1 Apr 2010 10:53:21 -0500 (CDT) From: Christoph Lameter X-X-Sender: cl@router.home To: "Zhang, Yanmin" cc: alex.shi@intel.com, "linux-kernel@vger.kernel.org" , "Ma, Ling" , "Chen, Tim C" , "Tim C Subject: Re: hackbench regression due to commit 9dfc6e68bfe6e In-Reply-To: <1270114166.2078.107.camel@ymzhang.sh.intel.com> Message-ID: References: <1269506457.4513.141.camel@alexs-hp.sh.intel.com> <1269570902.9614.92.camel@alexs-hp.sh.intel.com> <1270114166.2078.107.camel@ymzhang.sh.intel.com> User-Agent: Alpine 2.00 (DEB 1167 2008-08-23) 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: 684 Lines: 16 On Thu, 1 Apr 2010, Zhang, Yanmin wrote: > I suspect the moving of place of cpu_slab in kmem_cache causes the new cache > miss. But when I move it to the tail of the structure, kernel always panic when > booting. Perhaps there is another potential bug? Why would that cause an additional cache miss? The node array is following at the end of the structure. If you want to move it down then it needs to be placed before the node field. -- 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/