Re: Reserved memory during kernel boot time?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Hi,
>
> During my target boot up, I could see the following message getting
printed
> for 2.4.18 kernel:
>
> Memory: 12660k/12928k available (1689k kernel code, 268k reserved, 1512k
> data, 72k init, 0k highmem)
>
> I would like to know what is this reserved memory of 268K?
> AFAIK, it is static kernel data structures (please correct me if I am
> wrong).
memory allocated by kernel at boot time is called reserved memory.

>
> Is there any way of knowing how much reserved memory a kernel would need
by
> looking at the compile time size of the vmlinux?
I don't think so, because it's run time allocation.

> Is this reserved memory
> configurable kind of a thing? How much importance should we attach to this
> reserved memory once the boot process is complete? Is this reserved memory
> completely released for use to the applications?
Not sure of complete, but definitely it will be release as and when not
needed ;-)


> My interest is obviously in trying to understand and ensure that it is as
> low as possible so that maximum RAM is available for run time usage of the
> applications.
>
> Any ideas or suggestions are welcome,
>
> ~Syam
>
> --
> Kernelnewbies: Help each other learn about the Linux kernel.
> Archive:       http://mail.nl.linux.org/kernelnewbies/
> FAQ:           http://kernelnewbies.org/faq/
>
>


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux