Re: Undefined symbol "min_low_pfn"

From: Anupama Chandwani
Date: Mon Jul 27 2009 - 15:13:45 EST


Sure,

On Mon, Jul 27, 2009 at 11:45 AM, <Valdis.Kletnieks@xxxxxx> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/