On Tue, 2005-07-19 20:01:10 +0530, Vivek Dasgupta <[email protected]> wrote: > In 2.4 kernel one could check MOD_IN_USE and repeatedly call > MOD_DEC_USE_COUNT until the ref count drops to zero. > > Is there a function in 2.6 kernel that would zero out the ref count so > that module can be unloaded ? *plonk* Have you ever thought about a non-zero usage count? Maybe there actually *are* still some users so unloading the module may crash the entire system?! So don't kick-out your security gear, but dig out the real bugs which seem to manifest in execssive users at your side... MfG, JBG -- Jan-Benedict Glaw [email protected] . +49-172-7608481 _ O _ "Eine Freie Meinung in einem Freien Kopf | Gegen Zensur | Gegen Krieg _ _ O fuer einen Freien Staat voll Freier Buerger" | im Internet! | im Irak! O O O ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));
Attachment:
signature.asc
Description: Digital signature
- References:
- function to zero out module ref count so module can be unloaded in 2.6 kernel?
- From: Vivek Dasgupta <[email protected]>
- function to zero out module ref count so module can be unloaded in 2.6 kernel?
- Prev by Date: [PATCH 2.6.13-rc3-mm1] v9fs: Replace v9fs_block_bits() with fls()
- Next by Date: [patch] kbuild: make help binrpm-pkg fix
- Previous by thread: function to zero out module ref count so module can be unloaded in 2.6 kernel?
- Next by thread: [PATCH 2.6.13-rc3-mm1] v9fs: Replace v9fs_block_bits() with fls()
- Index(es):