2002-09-18 02:13:23

by Rusty Russell

[permalink] [raw]
Subject: [PATCH] In-kernel module loader 6/7

[ This one is 100k, so compressed and attached ]

Name: Module With try_get_module Implementation
Author: Rusty Russell
Status: Tested on 2.5.35
Depends: Misc/later.patch.gz Misc/kbuild_object.patch.gz
Depends: Misc/bigrefs.patch.gz Module/implicit-init-removal.patch.gz
Depends: Module/everyone-needs-init.patch.gz

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, bigrefs are used.
D: Modversions and Module parameters are not supported in this patch.
D: You will need the trivial replacement module utilities from:
D: http://www.kernel.org/pub/linux/people/rusty/module-init-tools-0.3.tar.gz

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

modbase-try.patch.gz (26.92 kB)
Module with try_get_module Implementation