LWN.net Logo

In-kernel module loader 6/7

From:  Rusty Russell <rusty@rustcorp.com.au>
To:  linux-kernel@vger.kernel.org
Subject:  [PATCH] In-kernel module loader 6/7
Date:  Wed, 18 Sep 2002 12:09:01 +1000
Cc:  mingo@elte.hu

[ 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:
D: Modversions and Module parameters are not supported in this patch.
D:
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.



Copyright © 2002, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds