How to understand the macro __init?
Ezequiel Garcia
elezegarcia at gmail.com
Thu Aug 16 13:23:06 EDT 2012
Hi Amar,
On Thu, Aug 16, 2012 at 1:08 PM, Amarnath Revanna
<amarnath.revanna at gmail.com> wrote:
>
> On the other hand, any other kernel module that you load using insmod or
> modprobe comes after this stage, wherein the kernel was already booted, and
> hence, no memory area of __init will ever be freed.
>
Modules are loaded with vmalloc, right?
Could you explain why the kernel can't free those __init symbols
from memory also in this case?
Thanks,
Ezequiel.
More information about the Kernelnewbies
mailing list