Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932662AbWALAJs (ORCPT ); Wed, 11 Jan 2006 19:09:48 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932655AbWALAJr (ORCPT ); Wed, 11 Jan 2006 19:09:47 -0500 Received: from omx2-ext.sgi.com ([192.48.171.19]:486 "EHLO omx2.sgi.com") by vger.kernel.org with ESMTP id S932421AbWALAJq (ORCPT ); Wed, 11 Jan 2006 19:09:46 -0500 Date: Wed, 11 Jan 2006 16:09:37 -0800 From: Paul Jackson To: hawkes@sgi.com Cc: tony.luck@gmail.com, akpm@osdl.org, linux-ia64@vger.kernel.org, linux-kernel@vger.kernel.org, steiner@sgi.com, djh@sgi.com, hawkes@sgi.com, jh@sgi.com, edwardsg@sgi.com Subject: Re: [PATCH] ia64: change defconfig to NR_CPUS==1024 Message-Id: <20060111160937.921a719d.pj@sgi.com> In-Reply-To: <20060105213948.11412.45463.sendpatchset@tomahawk.engr.sgi.com> References: <20060105213948.11412.45463.sendpatchset@tomahawk.engr.sgi.com> Organization: SGI X-Mailer: Sylpheed version 2.1.7 (GTK+ 2.4.9; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1229 Lines: 35 When I tried to build a 2.6.15-mm2 kernel with NR_CPUS 1024, and turned on some of the LOCK DEBUG options: 1160c1160 < # CONFIG_DEBUG_SLAB is not set --- > CONFIG_DEBUG_SLAB=y 1163,1164c1163,1164 < # CONFIG_DEBUG_SPINLOCK is not set < # CONFIG_DEBUG_SPINLOCK_SLEEP is not set --- > CONFIG_DEBUG_SPINLOCK=y > CONFIG_DEBUG_SPINLOCK_SLEEP=y then the build failed: LD .tmp_vmlinux1 arch/ia64/kernel/built-in.o(.init.text+0x68b2): In function `topology_init': arch/ia64/kernel/ivt.S:1465: undefined reference to `__you_cannot_kmalloc_that_much' make: *** [.tmp_vmlinux1] Error 1 Backing off to 512 CPUs built ok. There are a couple of kmalloc() calls in topology_init(). I didn't try to figure out which one blew up, nor did I try to investigate further. -- I won't rest till it's the best ... Programmer, Linux Scalability Paul Jackson 1.925.600.0401 - 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/