From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1HvjfK-0006Hm-BR for user-mode-linux-devel@lists.sourceforge.net; Tue, 05 Jun 2007 17:46:22 -0700 Received: from [198.99.130.12] (helo=saraswathi.solana.com) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1HvjfI-0003Kl-Ps for user-mode-linux-devel@lists.sourceforge.net; Tue, 05 Jun 2007 17:46:22 -0700 Date: Tue, 5 Jun 2007 20:37:52 -0400 From: Jeff Dike Message-ID: <20070606003752.GA11511@c2.user-mode-linux.org> References: <20070605205055.GA9770@c2.user-mode-linux.org> <20070605170001.c8b2110e.akpm@linux-foundation.org> Mime-Version: 1.0 Content-Disposition: inline In-Reply-To: <20070605170001.c8b2110e.akpm@linux-foundation.org> Subject: Re: [uml-devel] [PATCH 2/2] UML - Fix kernel stack size on x86_64 List-Id: The user-mode Linux development list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: user-mode-linux-devel-bounces@lists.sourceforge.net Errors-To: user-mode-linux-devel-bounces@lists.sourceforge.net To: Andrew Morton Cc: LKML , uml-devel On Tue, Jun 05, 2007 at 05:00:01PM -0700, Andrew Morton wrote: > On Tue, 5 Jun 2007 16:50:55 -0400 > Jeff Dike wrote: > > > [ This is 2.6.22 material ] > > > > Having KERNEL_STACK_ORDER in defconfig overrides the value provided by > > Kconfig, breaking UML/x86_64, which wants 2 page stacks. > That means the Kconfig rules are wrong, surely? I'm far from a Kconfig expert, but what I have is config KERNEL_STACK_ORDER int "Kernel stack size order" default 1 if 64BIT default 0 if !64BIT which seems reasonably clear and simple... Jeff -- Work email - jdike at linux dot intel dot com ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934311AbXFFAqg (ORCPT ); Tue, 5 Jun 2007 20:46:36 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S933309AbXFFAqY (ORCPT ); Tue, 5 Jun 2007 20:46:24 -0400 Received: from [198.99.130.12] ([198.99.130.12]:54093 "EHLO saraswathi.solana.com" rhost-flags-FAIL-FAIL-OK-OK) by vger.kernel.org with ESMTP id S933306AbXFFAqX (ORCPT ); Tue, 5 Jun 2007 20:46:23 -0400 Date: Tue, 5 Jun 2007 20:37:52 -0400 From: Jeff Dike To: Andrew Morton Cc: LKML , uml-devel Subject: Re: [PATCH 2/2] UML - Fix kernel stack size on x86_64 Message-ID: <20070606003752.GA11511@c2.user-mode-linux.org> References: <20070605205055.GA9770@c2.user-mode-linux.org> <20070605170001.c8b2110e.akpm@linux-foundation.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070605170001.c8b2110e.akpm@linux-foundation.org> User-Agent: Mutt/1.4.2.3i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jun 05, 2007 at 05:00:01PM -0700, Andrew Morton wrote: > On Tue, 5 Jun 2007 16:50:55 -0400 > Jeff Dike wrote: > > > [ This is 2.6.22 material ] > > > > Having KERNEL_STACK_ORDER in defconfig overrides the value provided by > > Kconfig, breaking UML/x86_64, which wants 2 page stacks. > That means the Kconfig rules are wrong, surely? I'm far from a Kconfig expert, but what I have is config KERNEL_STACK_ORDER int "Kernel stack size order" default 1 if 64BIT default 0 if !64BIT which seems reasonably clear and simple... Jeff -- Work email - jdike at linux dot intel dot com