mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Rusty Russell <rusty@rustcorp.com.au>
To: torvalds@transmeta.com
Cc: linux-kernel@vger.kernel.org, Daniel Phillips <phillips@arcor.de>,
	Roman Zippel <zippel@linux-m68k.org>
Subject: [PATCH] Kernel Module Loader vs. v2.5.43
Date: Fri, 18 Oct 2002 21:32:43 +1000	[thread overview]
Message-ID: <20021018113819.2701B2C28F@lists.samba.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 1501 bytes --]

Changes this version:
  o Updated to 2.5.43
  o Removes the "spurious failure" problem, which could
    theoretically occur during a failed unload attempt.  To do this, it
    uses a very lightweight refcount machanism in try_module_get(), and a
    complex machine-stopping maneuver on attempted unload.  This solution
    is inspired by discussions with Daniel Phillips.
  o You can use "no_module_init;" instead of declaring an init function.

It passes stress testing on my dual x86 box.

The full set of patches are available on my web page:
  http://www.kernel.org/pub/linux/kernel/people/rusty/patches

And as one convienent megapatch:
  http://www.kernel.org/pub/linux/kernel/people/rusty/patches/module-x86-18-10-2002.2.5.43.diff.gz

Cheers!
Rusty.
--
  Anyone who quotes me in their sig is an idiot. -- Rusty Russell.

D: This is an implementation of the in-kernel module loader extending
D: the try_inc_mod_count() primitive and making its use compulsory.
D: This has the benifit of simplicity, and similarity to the existing
D: scheme.  To reduce the cost of the constant increments and
D: decrements, reference counters are lockless and per-cpu.
D:
D: Modversions, Module parameters and kallsyms are not supported in
D: this patch, they come in future patches.  inter_module_get/put have been
D: eliminated: use symbol_get() and symbol_put().
D:
D: You will need the trivial replacement module utilities from:
D: http://www.kernel.org/pub/linux/people/rusty/module-init-tools-0.5.tar.gz


[-- Attachment #2: New Module Loader for 2.5.43 --]
[-- Type: application/octet-stream, Size: 36857 bytes --]

                 reply	other threads:[~2002-10-18 11:32 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20021018113819.2701B2C28F@lists.samba.org \
    --to=rusty@rustcorp.com.au \
    --cc=linux-kernel@vger.kernel.org \
    --cc=phillips@arcor.de \
    --cc=torvalds@transmeta.com \
    --cc=zippel@linux-m68k.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

all inboxes | Powered by JetHome®