From: "Hitoshi Ozeki" <h-ozeki@ck2.so-net.ne.jp>
To: "'The development of GRUB 2'" <grub-devel@gnu.org>
Subject: RE: GRUB 1.95 cannot read the ufs filesystem
Date: Thu, 19 Apr 2007 06:13:36 +0900 [thread overview]
Message-ID: <001501c781fe$6f83bf90$030010ac@ozeki> (raw)
In-Reply-To: <000001c7811e$9f928490$030010ac@ozeki>
Hello,all.
I wrote in the last:
At second, However we have the filepath in 'const char*
path', The original code copies the filepath. It wastes
the processor time.
If you think the use of pointers makes complex,
I recommend to use array and index.
It doesn't only waste the processor time.
The original code uses a large amount of auto-variable. It wastes the stack
space.
When we exhaust the stack space, we should expect the worst result.
GRUB is a bootloader, It does not support the virtual memory.
So we must stingy about the auto-variables.
--
Regards,
Hitoshi Ozeki
next prev parent reply other threads:[~2007-04-18 21:18 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-12 19:14 GRUB 1.95 cannot read the ufs filesystem Hitoshi Ozeki
2007-04-16 12:26 ` Johan Rydberg
2007-04-16 12:28 ` Johan Rydberg
2007-04-17 18:31 ` Hitoshi Ozeki
2007-04-18 10:48 ` Johan Rydberg
2007-04-18 10:49 ` Johan Rydberg
2007-04-18 21:13 ` Hitoshi Ozeki [this message]
2007-09-03 20:49 ` Yoshinori K. Okuji
2007-09-04 1:57 ` Bean
2007-09-19 2:35 ` Hitoshi Ozeki
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='001501c781fe$6f83bf90$030010ac@ozeki' \
--to=h-ozeki@ck2.so-net.ne.jp \
--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.