From: Thiemo Seufer <ths@networkno.de>
To: pulsar@kpsws.com
Cc: linux-mips@linux-mips.org
Subject: Re: reserved pages and zero pages question
Date: Fri, 21 Jul 2006 11:28:00 +0100 [thread overview]
Message-ID: <20060721102800.GA4456@networkno.de> (raw)
In-Reply-To: <15360.194.171.252.100.1153474088.squirrel@mail.kpsws.com>
pulsar@kpsws.com wrote:
> Hi,
>
> In my kernel startup I see the memory usage printed as:
>
> Memory: 125312k/131072k available (1977k kernel code, 5648k reserved, 287k
> data, 1664k init, 0k highmem)
>
> I wonder where the reserved pages are used for and how we can minimize it
> for small memory systems.
Most of that is the ramdisk you included. :-) It normally given back
once the ramdisk is decompressed.
> In my search I see that in arcm/mips/mm/init.c there are zero-pages
> allocated and put to reserved.
>
> Where are the zero pages used for and can we do without ?
They provide a clean zeroed page which gets mapped read-only (probably
for copy-on-write). You can't do without.
Thiemo
prev parent reply other threads:[~2006-07-21 11:15 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-20 16:52 [PATCH] Honour "panic_on_oops" sysctl on mips arch Maxime Bizon
2006-07-20 19:18 ` Ralf Baechle
2006-07-21 9:28 ` reserved pages and zero pages question pulsar
2006-07-21 10:28 ` Thiemo Seufer [this message]
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=20060721102800.GA4456@networkno.de \
--to=ths@networkno.de \
--cc=linux-mips@linux-mips.org \
--cc=pulsar@kpsws.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