From: Rusty Russell <rusty@rustcorp.com.au>
To: Christoph Hellwig <hch@infradead.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: module mess in -CURRENT
Date: Thu, 14 Nov 2002 15:06:42 +1100 [thread overview]
Message-ID: <20021114032456.2E2342C04C@lists.samba.org> (raw)
In-Reply-To: Your message of "Thu, 14 Nov 2002 00:02:06 -0000." <20021114000206.A8245@infradead.org>
In message <20021114000206.A8245@infradead.org> you write:
> Linus, Rusty,
>
> what the hell is going on with the modules code in 2.5-CURRENT?
>
> Rusty's monsterpatch breaks basically everything (and remember we're
> in feature freeze!) instead of doing one thing at a time [1], and it
> is doing three things that are absolutely separate issues.
<sigh>. I did do it one at a time. I replaced the module loading
code as stage I.
> We had an almost useable 2.5 and now exactly when we're feature freezing
> and people are expected to test it we break everything?
>
> Linus, please backout that patch until we a) have modutils that support
> both the new and old code
It works for me. This is becoming an FAQ, but I thought the code was
obvious: eg. insmod execvp "insmod.old" when it detects an older
kernel, and "make install" moves insmod to insmod.old etc. if
insmod.old doesn't already exist.
> and b) support at least such basic features
> as parsing modules.conf and supporting parameters.
I'm sorry if I'm feeding the patches to Linus too slowly for you, but
you know where to find them, I've posted the URL often enough. It
hasn't even hit a release yet, so I wasn't worried.
I implemented an in-kernel module loader, implemented the linking code
for 6 architectures, re-implemented all the module cruft cleanly on
top of it, and kept it uptodate through all the changes in Linus'
tree.
And you wonder why I held back fleshing out the implementation of
modprobe, until (if) the code was in the kernel?
> The inkernel loader, generic boot-time option and your - umm - strange
> idea of module unload race reduction are absolute separate things.
I rewrote module.c to make it an in-kernel linker so insmod was 20
lines. And you think I should have re-implemented races in the
loading and unloading stages too, so I could remove them in a future
patch?
What an odd concept!
Rusty.
--
Anyone who quotes me in their sig is an idiot. -- Rusty Russell.
next prev parent reply other threads:[~2002-11-14 3:19 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-14 0:02 module mess in -CURRENT Christoph Hellwig
2002-11-14 0:59 ` Linus Torvalds
2002-11-14 1:05 ` Christoph Hellwig
2002-11-14 2:27 ` Alan Cox
2002-11-14 2:32 ` Linus Torvalds
2002-11-14 5:07 ` Rusty Russell
2002-11-14 4:36 ` Rusty Russell
2002-11-14 14:32 ` Alan Cox
2002-11-14 18:54 ` Roman Zippel
2002-11-14 4:06 ` Rusty Russell [this message]
[not found] <20021114000206.A8245@infradead.org.suse.lists.linux.kernel>
[not found] ` <Pine.LNX.4.44.0211131655580.6810-100000@home.transmeta.com.suse.lists.linux.kernel>
2002-11-14 10:19 ` Andi Kleen
2002-11-14 17:32 ` John Alvord
2002-11-14 17:40 ` Andi Kleen
2002-11-14 18:01 ` Andrea Arcangeli
2002-11-14 18:18 ` Andi Kleen
2002-11-15 0:27 ` Jamie Lokier
2002-11-15 0:46 ` Linus Torvalds
2002-11-15 3:38 ` Andi Kleen
2002-11-15 18:26 ` Kai Henningsen
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=20021114032456.2E2342C04C@lists.samba.org \
--to=rusty@rustcorp.com.au \
--cc=hch@infradead.org \
--cc=linux-kernel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox