How to understand the macro __init?
From: Ezequiel Garcia <hidden>
Date: 2012-08-16 17:23:06
From: Ezequiel Garcia <hidden>
Date: 2012-08-16 17:23:06
Hi Amar, On Thu, Aug 16, 2012 at 1:08 PM, Amarnath Revanna [off-list ref] 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.