Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1764702AbYASEzk (ORCPT ); Fri, 18 Jan 2008 23:55:40 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1762193AbYASEzd (ORCPT ); Fri, 18 Jan 2008 23:55:33 -0500 Received: from netops-testserver-3-out.sgi.com ([192.48.171.28]:48153 "EHLO relay.sgi.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1762019AbYASEzc (ORCPT ); Fri, 18 Jan 2008 23:55:32 -0500 Date: Fri, 18 Jan 2008 20:55:29 -0800 (PST) From: Christoph Lameter X-X-Sender: clameter@schroedinger.engr.sgi.com To: Olaf Hering cc: Pekka Enberg , linux-kernel@vger.kernel.org, linuxppc-dev@ozlabs.org, Linux MM Subject: Re: crash in kmem_cache_init In-Reply-To: <20080118065621.GA27495@aepfle.de> Message-ID: References: <20080115150949.GA14089@aepfle.de> <84144f020801170414q7d408a74uf47a84b777c36a4a@mail.gmail.com> <20080117181222.GA24411@aepfle.de> <20080117211511.GA25320@aepfle.de> <20080118065621.GA27495@aepfle.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: 1175 Lines: 27 On Fri, 18 Jan 2008, Olaf Hering wrote: > calls cache_grow with nodeid 0 > > [c00000000075bbd0] [c0000000000f82d0] .cache_alloc_refill+0x234/0x2c0 > calls cache_grow with nodeid 0 > > [c00000000075bbe0] [c0000000000f7f38] .____cache_alloc_node+0x17c/0x1e8 > > calls cache_grow with nodeid 1 > > [c00000000075bbe0] [c0000000000f7d68] .fallback_alloc+0x1a0/0x1f4 Okay that makes sense. You have no node 0 with normal memory but the node assigned to the executing processor is zero (correct?). Thus it needs to fallback to node 1 and that is not possible during bootstrap. You need to run kmem_cache_init() on a cpu on a processor with memory. Or we need to revert the patch which would allocate control structures again for all online nodes regardless if they have memory or not. Does reverting 04231b3002ac53f8a64a7bd142fde3fa4b6808c6 change the situation? (However, we tried this on the other thread without success). -- 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/