From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752403AbYAWVcS (ORCPT ); Wed, 23 Jan 2008 16:32:18 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752774AbYAWVcF (ORCPT ); Wed, 23 Jan 2008 16:32:05 -0500 Received: from mail-out.m-online.net ([212.18.0.9]:32935 "EHLO mail-out.m-online.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751195AbYAWVcD (ORCPT ); Wed, 23 Jan 2008 16:32:03 -0500 Date: Wed, 23 Jan 2008 22:32:29 +0100 From: Olaf Hering To: Pekka J Enberg Cc: mel@csn.ul.ie, clameter@sgi.com, linux-kernel@vger.kernel.org, akpm@linux-foundation.org Subject: Re: [PATCH] slab: fix bootstrap on memoryless node Message-ID: <20080123213229.GA21045@aepfle.de> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.13 (2006-08-11) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 23, Pekka J Enberg wrote: > From: Pekka Enberg > > If the node we're booting on doesn't have memory, bootstrapping kmalloc() > caches resorts to fallback_alloc() which requires ->nodelists set for all > nodes. Fix that by calling set_up_list3s() for CACHE_CACHE in > kmem_cache_init(). > > Tested-by: Mel Gorman > Reviewed-by: Christoph Lameter > Signed-off-by: Pekka Enberg > --- > Olaf, can you please test this against a clean git head with this revert > applied before this patch: Yes, the system boots with both patches applied. Thanks.