| To: | pulsar@kpsws.com |
|---|---|
| Subject: | Re: reserved pages and zero pages question |
| From: | Thiemo Seufer <ths@networkno.de> |
| Date: | Fri, 21 Jul 2006 11:28:00 +0100 |
| Cc: | linux-mips@linux-mips.org |
| In-reply-to: | <15360.194.171.252.100.1153474088.squirrel@mail.kpsws.com> |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <1153414322.20352.268.camel@sakura.staff.proxad.net> <20060720191836.GA22361@linux-mips.org> <15360.194.171.252.100.1153474088.squirrel@mail.kpsws.com> |
| Sender: | linux-mips-bounce@linux-mips.org |
| User-agent: | Mutt/1.5.12-2006-07-14 |
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 in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | reserved pages and zero pages question, pulsar |
|---|---|
| Next by Date: | Re: [PATCH] no console disabling during suspend stage, Andrew Morton |
| Previous by Thread: | reserved pages and zero pages question, pulsar |
| Next by Thread: | Multiple page size support for AU1xxx, hemanth.venkatesh |
| Indexes: | [Date] [Thread] [Top] [All Lists] |