mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* function to zero out module ref count so module can be unloaded in 2.6 kernel?
@ 2005-07-19 14:31 Vivek Dasgupta
  2005-07-19 14:37 ` Jan-Benedict Glaw
  0 siblings, 1 reply; 2+ messages in thread
From: Vivek Dasgupta @ 2005-07-19 14:31 UTC (permalink / raw)
  To: linux-kernel

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 ?

Need to implement ioctl for a driver to zero out the ref count.

Thanks
Vivek

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-07-19 14:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-19 14:31 function to zero out module ref count so module can be unloaded in 2.6 kernel? Vivek Dasgupta
2005-07-19 14:37 ` Jan-Benedict Glaw

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®