From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1D0m1J-00055y-8V for mharc-grub-devel@gnu.org; Mon, 14 Feb 2005 14:36:33 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1D0m1C-00051Y-Rf for grub-devel@gnu.org; Mon, 14 Feb 2005 14:36:27 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1D0m16-0004xb-Hk for grub-devel@gnu.org; Mon, 14 Feb 2005 14:36:22 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D0m16-0004tl-1K for grub-devel@gnu.org; Mon, 14 Feb 2005 14:36:20 -0500 Received: from [145.74.66.11] (helo=mail-cn.han.nl) by monty-python.gnu.org with esmtp (Exim 4.34) id 1D0llO-0002rz-Vg for grub-devel@gnu.org; Mon, 14 Feb 2005 14:20:07 -0500 Received: from vscan-cn.han.nl (venus.han.nl [145.74.65.6]) by mail-cn.han.nl (Postfix) with ESMTP id 7549A944E for ; Mon, 14 Feb 2005 20:20:06 +0100 (CET) Received: from mail-cn.han.nl ([145.74.66.11]) by vscan-cn.han.nl (venus.han.nl [145.74.65.6]) (amavisd-new, port 10024) with ESMTP id 16414-01 for ; Mon, 14 Feb 2005 20:20:04 +0100 (CET) Received: from mail1.han.nl (mail1.han.nl [145.74.103.11]) by mail-cn.han.nl (Postfix) with ESMTP id 6C82D8F93 for ; Mon, 14 Feb 2005 20:20:04 +0100 (CET) Received: from marco.marco-g.com (mgerards.xs4all.nl [82.92.27.129]) by mail1.han.nl (Postfix) with ESMTP id 36794C045 for ; Mon, 14 Feb 2005 20:20:04 +0100 (CET) Mail-Copies-To: metgerards@student.han.nl To: The development of GRUB 2 References: <20050213151851.GA4056@miracle> <200502131949.54146.okuji@enbug.org> <87acq8tfhu.fsf@marco.marco-g.com> <200502132136.21750.okuji@enbug.org> From: Marco Gerards Date: Mon, 14 Feb 2005 19:20:18 +0000 In-Reply-To: <200502132136.21750.okuji@enbug.org> (Yoshinori K. Okuji's message of "Sun, 13 Feb 2005 21:36:21 +0100") Message-ID: <87is4vaqz1.fsf@marco.marco-g.com> User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new (2.2.0) at vscan-cn.han.nl Subject: Re: [patch] configfile X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Feb 2005 19:36:31 -0000 "Yoshinori K. Okuji" writes: > On Sunday 13 February 2005 20:41, Marco Gerards wrote: >> It just seems it a bit awkward to me. I have no idea how big the >> stack is on the PC and if it will cause problems. > > I don't know, either, but I guess it would consume less than 1KB per > configfile, because large data is allocated on the heap but not on the > stack. If you don't like it, it is feasible to push the context of > current configuration and call longjmp to start a new configuration. I > think this is tricky. What I had in mind was to change the menu in memory. But I don't have any problems with a few lost bytes either. So we just do it like in Hollis' patch? In that case I'll review so it can be applied. -- Marco