All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marco Gerards <metgerards@student.han.nl>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: [patch] configfile
Date: Mon, 14 Feb 2005 19:20:18 +0000	[thread overview]
Message-ID: <87is4vaqz1.fsf@marco.marco-g.com> (raw)
In-Reply-To: <200502132136.21750.okuji@enbug.org> (Yoshinori K. Okuji's message of "Sun, 13 Feb 2005 21:36:21 +0100")

"Yoshinori K. Okuji" <okuji@enbug.org> 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




  reply	other threads:[~2005-02-14 19:36 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-13 15:18 [patch] configfile Hollis Blanchard
2005-02-13 16:03 ` Yoshinori K. Okuji
2005-02-13 17:53 ` Marco Gerards
2005-02-13 18:49   ` Yoshinori K. Okuji
2005-02-13 19:41     ` Marco Gerards
2005-02-13 20:36       ` Yoshinori K. Okuji
2005-02-14 19:20         ` Marco Gerards [this message]
2005-02-14 20:54           ` Yoshinori K. Okuji
2005-02-14 21:03             ` Yoshinori K. Okuji
2005-02-13 18:52   ` Hollis Blanchard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87is4vaqz1.fsf@marco.marco-g.com \
    --to=metgerards@student.han.nl \
    --cc=grub-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.