module - Use of __exit token in linux kernel -


what use of __exit token in loadable linux kernel modules , kernel in general? see explation __init in /include/linux/init.h couldn't find general or particular (for case loadable modules) anywhere.

very simple - __exit marks code used in module destruction. if compiled feature built-in kernel , not module or under configuration forbids kernel module unload (yes, there one), code doesn't need loaded ram.


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -