From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Tue, 22 Jan 2008 14:23:18 -0800 (PST) From: Christoph Lameter Subject: Re: crash in kmem_cache_init In-Reply-To: <20080122214505.GA15674@aepfle.de> Message-ID: References: <84144f020801170414q7d408a74uf47a84b777c36a4a@mail.gmail.com> <20080117181222.GA24411@aepfle.de> <20080117211511.GA25320@aepfle.de> <20080118213011.GC10491@csn.ul.ie> <20080118225713.GA31128@aepfle.de> <20080122195448.GA15567@csn.ul.ie> <20080122214505.GA15674@aepfle.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org Return-Path: To: Olaf Hering Cc: Mel Gorman , Pekka Enberg , linux-kernel@vger.kernel.org, linuxppc-dev@ozlabs.org, "Aneesh Kumar K.V" , hanth Aravamudan , KAMEZAWA Hiroyuki , lee.schermerhorn@hp.com, Linux MM , akpm@linux-foundation.org List-ID: On Tue, 22 Jan 2008, Olaf Hering wrote: > It crashes now in a different way if the patch below is applied: Yup no l3 structure for the current node. We are early in boostrap. You could just check if the l3 is there and if not just skip starting the reaper? This will be redone later anyways. Not sure if this will solve all your issues though. An l3 for the current node that we are booting on needs to be created early on for SLAB bootstrap to succeed. AFAICT SLUB doesnt care and simply uses whatever the page allocator gives it for the cpu slab. We may have gotten there because you only tested with SLUB recently and thus changes got in that broke SLAB boot assumptions. > 0xc0000000000fe018 is in setup_cpu_cache (/home/olaf/kernel/git/linux-2.6-numa/mm/slab.c:2111). > 2106 BUG_ON(!cachep->nodelists[node]); > 2107 kmem_list3_init(cachep->nodelists[node]); > 2108 } > 2109 } > 2110 } if (cachep->nodelists[numa_node_id()]) return; > 2111 cachep->nodelists[numa_node_id()]->next_reap = > 2112 jiffies + REAPTIMEOUT_LIST3 + > 2113 ((unsigned long)cachep) % REAPTIMEOUT_LIST3; > 2114 > 2115 cpu_cache_get(cachep)->avail = 0; > > -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org