linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* cleanup_module/delete_module.
@ 2001-07-06  3:14 sendhil kumar
  2001-07-06  3:32 ` cleanup_module/delete_module Keith Owens
  0 siblings, 1 reply; 2+ messages in thread
From: sendhil kumar @ 2001-07-06  3:14 UTC (permalink / raw)
  To: linux-kernel

Hi,

I want to know the difference between the
cleanup_module and delete_module system call. Can any
one please clarify my doubt.

Thanks,
sendhil


__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

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

* Re: cleanup_module/delete_module.
  2001-07-06  3:14 cleanup_module/delete_module sendhil kumar
@ 2001-07-06  3:32 ` Keith Owens
  0 siblings, 0 replies; 2+ messages in thread
From: Keith Owens @ 2001-07-06  3:32 UTC (permalink / raw)
  To: sendhil kumar; +Cc: linux-kernel

On Thu, 5 Jul 2001 20:14:41 -0700 (PDT), 
sendhil kumar <hello_linux@yahoo.com> wrote:
>I want to know the difference between the
>cleanup_module and delete_module system call. Can any
>one please clarify my doubt.

insmod inserts the address of cleanup_module() in the module structure
at load time.  When syscall delete_module() is about to remove the
module, it calls the module's clean up routine, if it exists.  So
cleanup_module() is invoked during module deletion to let the module do
any local clean up.


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

end of thread, other threads:[~2001-07-06  3:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-06  3:14 cleanup_module/delete_module sendhil kumar
2001-07-06  3:32 ` cleanup_module/delete_module Keith Owens

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).