From: Anupama Chandwani <anupama.chandwani@gmail.com>
To: Valdis.Kletnieks@vt.edu
Cc: linux kernel mailing list <linux-kernel@vger.kernel.org>
Subject: Re: Undefined symbol "min_low_pfn"
Date: Mon, 27 Jul 2009 12:07:05 -0700 [thread overview]
Message-ID: <689eb3470907271207s23fd313ck92c2448de264ec33@mail.gmail.com> (raw)
In-Reply-To: <52058.1248720339@turing-police.cc.vt.edu>
Sure,
On Mon, Jul 27, 2009 at 11:45 AM, <Valdis.Kletnieks@vt.edu> wrote:
> On Mon, 27 Jul 2009 11:17:20 PDT, Anupama Chandwani said:
>
>> I want to know what pages (page frame numbers) are used by kernel
>> code/data/bss etc. min_low_pfn would have told me the lowest usable
>> pfn.
>> Is there another way of getting this information? Or printing the min_low_pfn?
>
> What are you trying to do with that number? Perhaps if you explain the
> problem you're trying to solve by looking at min_low_pfn, somebody will have
> a better solution...
>
I am trying to find the pfns that belong to the kernel image in RAM.
It is a study project to learn the memory management of the linux
kernel, and perhaps suggest a few optimizations.
With min_low_pfn, I can claim that all pfns under it, belong to the
kernel image and hence cannot be used by others.
I have the pfns of other pools, like mapped, mlocked, etc.
Thanks,
Anupama
prev parent reply other threads:[~2009-07-27 19:13 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <689eb3470907271102i904d81em6317302e373e0730@mail.gmail.com>
2009-07-27 18:17 ` Anupama Chandwani
2009-07-27 18:45 ` Valdis.Kletnieks
2009-07-27 19:07 ` Anupama Chandwani [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=689eb3470907271207s23fd313ck92c2448de264ec33@mail.gmail.com \
--to=anupama.chandwani@gmail.com \
--cc=Valdis.Kletnieks@vt.edu \
--cc=linux-kernel@vger.kernel.org \
/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
all inboxes | Powered by JetHome®