From: Roman Zippel <zippel@linux-m68k.org>
To: "Adam J. Richter" <adam@yggdrasil.com>
Cc: linux-kernel@vger.kernel.org, <vandrove@vc.cvut.cz>
Subject: Re: [RFC] module fs or how to not break everything at once
Date: Sat, 23 Nov 2002 13:34:04 +0100 (CET) [thread overview]
Message-ID: <Pine.LNX.4.44.0211231308250.2113-100000@serv> (raw)
In-Reply-To: <200211230458.UAA17701@adam.yggdrasil.com>
Hi,
On Fri, 22 Nov 2002, Adam J. Richter wrote:
> I will try to find that discussion. In the meantime, I'll just
> point out that you can still use the linker with two .o files instead
> of one .o and an ld script. At the very least, it you would be
> relying on one less GNUism (linker scripts).
If you manage to remove arch/*/vmlinux.lds, we can continue this
discussion. I need the module linker script for very much the same
reasons.
> >Why would you kill insmod with SIGKILL?
>
> For example, you might be aborting a shutdown, or you might
> have decided to kill all processes on a certain terminal because
> you're trying to kill some runaway activity.
Well, if you kill processes with SIGKILL, you get exactly what you ask
for.
> >You're trying here to assign tasks to insmod it shouldn't know about. The
> >more insmod knows about the module layout the harder is it to change it
> >from the kernel side and the more you loose flexibilty.
> >All this can be easily done by the kernel.
>
> By that logic, we must go with Rusty's kernel module loader,
> perhaps with an interface like "int sys_insmod(char **argv)."
Think _very_ carefully about what I wrote earlier:
"Overall this means all module tasks become nicely separated. During build
we prepare the module with all the information the kernel needs, the
loader takes care of dependencies and just relocates the module, modfs
maps it into the kernel and starts the module. If the interfaces are
halfway flexible, changes in one part don't require a change somewhere
else."
This is the basic design goal and I will not change it without a very good
reason.
Otherwise I stop this discussion here, I doubt you will get _anyone_ to
implement the features you want. It also makes little sense to discuss
details of an implementation, which doesn't exist yet. As soon as it does
exist, you are free to implement whatever you want on top of it. If you
get anyone to look at it without a barf bag, I'll consider it. If you
think you can do better, try to implement your own module loader, I think
it will be an interesting learning experience for you.
bye, Roman
next prev parent reply other threads:[~2002-11-23 12:26 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-23 4:58 Adam J. Richter
2002-11-23 12:34 ` Roman Zippel [this message]
-- strict thread matches above, loose matches on Subject: below --
2002-11-22 22:11 Adam J. Richter
2002-11-22 23:24 ` Roman Zippel
2002-11-22 18:10 Adam J. Richter
2002-11-22 20:28 ` Roman Zippel
2002-11-21 23:59 Adam J. Richter
2002-11-21 23:21 Adam J. Richter
2002-11-22 10:50 ` Roman Zippel
2002-11-20 21:06 Roman Zippel
2002-11-20 22:03 ` Petr Vandrovec
2002-11-20 23:32 ` Roman Zippel
2002-11-21 1:59 ` Petr Vandrovec
2002-11-21 19:46 ` Roman Zippel
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=Pine.LNX.4.44.0211231308250.2113-100000@serv \
--to=zippel@linux-m68k.org \
--cc=adam@yggdrasil.com \
--cc=linux-kernel@vger.kernel.org \
--cc=vandrove@vc.cvut.cz \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®