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
Post a Comment