2 ms·
Neat stuff -- note that the Linux kernel (and probably others, I'd guess) uses a similar technique to tag code/data that's only used during initialization. It
by 1amzave 15y ago
Neat stuff -- note that the Linux kernel (and probably others, I'd guess) uses a similar technique to tag code/data that's only used during initialization. It gets put in a dedicated section of the kernel (or module thereof) that's discarded once it's up and running so it can reclaim some space. (See include/linux/init.h in the kernel source tree.)