cleanup_module/delete_module.
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/
Quoted 3 lines · sendhil kumar
I want to know the difference between the
cleanup_moduleanddelete_modulesystem 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.