From: "Yoshinori K. Okuji" <okuji@enbug.org>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: [PATCH] Split of the normal mode
Date: Sun, 29 Mar 2009 19:09:56 +0900 [thread overview]
Message-ID: <200903291909.56201.okuji@enbug.org> (raw)
In-Reply-To: <49CF4200.7010500@nic.fi>
On Sunday 29 March 2009 18:40:16 Vesa Jääskeläinen wrote:
> Bean wrote:
> > Hi,
> >
> > This patch split the function of normal mode into small modules, here
> > is a summary:
> >
> > 1, Move dynamic command loader to commands/dyncmd.c (dyncmd.mod)
> > 2, Move automatic fs loader to fs/autofs.c (autofs.mod)
> > 3, Split normal mode into three major parts:
> > parser/normal - normal mode parser (nparser.mod)
> > reader/normal - normal mode command line reader (nreader.mod)
> > menu/text - menu viewer (tmenu.mod)
> > 4, Generic menu function move to menu/menu.c and menu/menu_viewer.c.
> > (menu.mod) 5, Misc function move to lib/misc.c lib/completion.c
> > (misc.mod)
> > 6, setjmp function move to lib/i386, lib/x86_64, lib/powerpc and
> > lib/sparc64 (setjmp.mod)
>
> Umh... I could somewhat agree with moving text menu out of normal.mod.
> But...
>
> I feel we have passed the over engineering milestone sometime ago... and
> I am not frankly happy about that...
>
> Changes like this just make it a) harder to maintain, b) bigger overall
> size impact, c) as a plus more modular approach...
>
> I also fear that we seem to be missing some lead for the project that
> could use his authority to make decisions...
Indeed. I don't understand this tendency about splitting modules at all. What
is the motivation behind? What is the real benefit for the user?
From my point of view, it is wrong to force the user to manually load modules,
generally. This includes writing "insmod" in config files. Look at Linux. It
is quite rare to execute insmod or modprobe directly. Most of the time,
modules are loaded on demand. This is the user-friendliness.
You should select compile-time "loading" (i.e. linking) whenever possible. If
a function is loaded eventually, it should be linked at compile time.
You should select automatic loading, if you need runtime linking.
Manual loading should be considered evil, in principle.
FYI, I am planning to make a full review of recent changes (i.e. all changes
made after I stopped reviewing every patch), and trash/revert/rewrite/blame
everything I don't like. Changes made for no good reason must be all
reverted.
In brief, I take back the leadership of this project for general directions.
For some subsystems (e.g. the coreboot support), I continue leaving the
responsibility to those who know better or are more active. Once the current
code is reviewed and fixed (at some degree), I will make a new release.
Any objection?
Regards,
Okuji
next prev parent reply other threads:[~2009-03-29 10:10 UTC|newest]
Thread overview: 48+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-29 9:25 [PATCH] Split of the normal mode Bean
2009-03-29 9:40 ` Vesa Jääskeläinen
2009-03-29 10:09 ` Yoshinori K. Okuji [this message]
2009-03-29 10:43 ` phcoder
2009-03-29 10:53 ` Vesa Jääskeläinen
2009-03-29 11:33 ` phcoder
2009-03-29 11:51 ` Yoshinori K. Okuji
2009-03-29 12:09 ` Bean
2009-03-29 13:10 ` Yoshinori K. Okuji
2009-03-29 13:59 ` Bean
2009-03-29 14:20 ` Yoshinori K. Okuji
2009-03-29 14:30 ` Bean
2009-03-29 14:54 ` Yoshinori K. Okuji
2009-03-29 15:17 ` Bean
2009-03-30 15:42 ` Yoshinori K. Okuji
2009-03-30 20:04 ` Colin D Bennett
2009-03-31 6:11 ` Bean
2009-03-31 15:02 ` Colin D Bennett
2009-03-29 13:00 ` phcoder
2009-03-29 14:51 ` Yoshinori K. Okuji
2009-03-29 17:07 ` phcoder
2009-03-29 20:35 ` phcoder
2009-03-30 15:49 ` Yoshinori K. Okuji
2009-03-30 15:59 ` phcoder
2009-04-01 7:43 ` phcoder
2009-04-01 8:07 ` David Miller
2009-04-01 9:22 ` phcoder
2009-04-01 14:10 ` Yoshinori K. Okuji
2009-04-01 16:14 ` phcoder
2009-03-29 11:29 ` Yoshinori K. Okuji
2009-03-29 11:40 ` David Miller
2009-03-29 12:55 ` Yoshinori K. Okuji
2009-03-29 13:23 ` Vesa Jääskeläinen
2009-03-29 14:49 ` Yoshinori K. Okuji
2009-03-29 15:43 ` Vesa Jääskeläinen
2009-03-29 20:26 ` David Miller
2009-03-29 20:24 ` David Miller
2009-03-29 20:38 ` phcoder
2009-03-30 15:43 ` Bean
2009-03-30 16:22 ` Yoshinori K. Okuji
2009-03-30 16:38 ` Bean
2009-03-30 16:35 ` Vesa Jääskeläinen
2009-03-29 11:59 ` General design (was Re: [PATCH] Split of the normal mode) phcoder
2009-03-29 10:48 ` [PATCH] Split of the normal mode Vesa Jääskeläinen
2009-03-29 11:39 ` Yoshinori K. Okuji
2009-03-29 12:17 ` Vesa Jääskeläinen
2009-04-01 13:19 ` Robert Millan
2009-04-01 14:15 ` Yoshinori K. Okuji
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=200903291909.56201.okuji@enbug.org \
--to=okuji@enbug.org \
--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.