Re: increasing memory alloted for 'init' during kernel boot.

From: Jiri Slaby
Date: Tue Aug 31 2010 - 04:22:31 EST


On 08/31/2010 08:49 AM, Prabhu Chawandi wrote:
> Hi all,
>
> Whenever the kernel starts booting, I am getting the bellow log :
>
> Memory: 110080k/262144k available (2566k kernel code, 151952k
> reserved, 561k data, 15328k init, 0k highmem).
>
> For 'init' on what bases this amount of memory is decided ?
>
> Anyways I can alter it?

Nope. It's code and data inside .init, .exit and similar sections. Those
are marked by __init, __exit etc. in the code. This memory is freed
after the kernel is up and running, since this memory (code and data) is
not needed anymore.

regards,
--
js
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/