From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Fri, 9 Nov 2007 13:50:38 -0800 (PST) From: Christoph Lameter Subject: Re: [patch 2/2] x86_64: Configure stack size In-Reply-To: <20071109134637.8d6fd2b3.akpm@linux-foundation.org> Message-ID: References: <20071107004357.233417373@sgi.com> <20071107004710.862876902@sgi.com> <20071107191453.GC5080@shadowen.org> <200711080012.06752.ak@suse.de> <20071109121332.7dd34777.akpm@linux-foundation.org> <20071109131057.a78c914b.akpm@linux-foundation.org> <20071109134637.8d6fd2b3.akpm@linux-foundation.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org Return-Path: To: Andrew Morton Cc: ak@suse.de, apw@shadowen.org, linux-mm@kvack.org, travis@sgi.com List-ID: On Fri, 9 Nov 2007, Andrew Morton wrote: > Did you consider making the stack size a calculated-in-Kconfig-arithmetic > thing rather than an offered-to-humans thing? Derive it from CONFIG_NR_CPUS? Estimating stack use based on NR_CPUS is a difficult thing. The estimates likely have to change as the use of the stack changes in the kernel. I'd rather have a constant there now. Maybe in the future we can come up with such a scheme. -- 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