From: Rusty Russell <rusty@rustcorp.com.au>
To: "Adam J. Richter" <adam@yggdrasil.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Proposed module init race fix.
Date: Wed, 15 Jan 2003 20:06:43 +1100 [thread overview]
Message-ID: <20030115090757.DB0522C109@lists.samba.org> (raw)
In-Reply-To: Your message of "Wed, 15 Jan 2003 00:46:26 -0800." <200301150846.AAA01104@adam.yggdrasil.com>
In message <200301150846.AAA01104@adam.yggdrasil.com> you write:
> On 2003-01-15, Rusty Russell wrote:
> >It's possible to start using a module, and then have it fail
> >initialization. In 2.4, this resulted in random behaviour. One
> >solution to this is to make all interfaces two-stage: reserve
> >everything you need (which might fail), the activate them. This
> >means changing about 1600 modules, and deprecating every interface
> >they use.
>
> Could you explain this "random behavior" of 2.4 a bit more?
> As far as I know, if a module's init function fails, it must
> unregister everything that it has registered up to that point.
And if someone's using it, the module gets unloaded underneath them.
Rusty.
--
Anyone who quotes me in their sig is an idiot. -- Rusty Russell.
next prev parent reply other threads:[~2003-01-15 8:59 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-15 8:46 [PATCH] Proposed module init race fix Adam J. Richter
2003-01-15 9:06 ` Rusty Russell [this message]
-- strict thread matches above, loose matches on Subject: below --
2003-01-15 14:21 Petr Vandrovec
2003-01-16 1:48 ` Rusty Russell
2003-01-16 2:55 ` Werner Almesberger
2003-01-15 8:24 Rusty Russell
2003-01-15 16:34 ` Roman Zippel
2003-01-17 1:38 ` Rusty Russell
2003-01-17 15:35 ` 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=20030115090757.DB0522C109@lists.samba.org \
--to=rusty@rustcorp.com.au \
--cc=adam@yggdrasil.com \
--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 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.