[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <689eb3470907271207s23fd313ck92c2448de264ec33@mail.gmail.com>
Date: Mon, 27 Jul 2009 12:07:05 -0700
From: Anupama Chandwani <anupama.chandwani@...il.com>
To: Valdis.Kletnieks@...edu
Cc: linux kernel mailing list <linux-kernel@...r.kernel.org>
Subject: Re: Undefined symbol "min_low_pfn"
Sure,
On Mon, Jul 27, 2009 at 11:45 AM, <Valdis.Kletnieks@...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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists