From: Jiri Slaby <jirislaby@gmail.com>
To: Prabhu Chawandi <prabhu.chavandi@gmail.com>
Cc: linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org
Subject: Re: increasing memory alloted for 'init' during kernel boot.
Date: Tue, 31 Aug 2010 10:22:20 +0200 [thread overview]
Message-ID: <4C7CBBBC.3070503@gmail.com> (raw)
In-Reply-To: <AANLkTimWnYqFSC=3kqzBVtZHwodCX=MnsViDGmJbUn_8@mail.gmail.com>
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
next prev parent reply other threads:[~2010-08-31 8:22 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-31 6:49 increasing memory alloted for 'init' during kernel boot Prabhu Chawandi
2010-08-31 8:22 ` Jiri Slaby [this message]
2010-08-31 8:43 ` Prabhu Chawandi
2010-08-31 12:51 ` Jiri Slaby
2010-08-31 12:58 ` Sam Ravnborg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4C7CBBBC.3070503@gmail.com \
--to=jirislaby@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mips@vger.kernel.org \
--cc=prabhu.chavandi@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox