* Undefined symbol "min_low_pfn"
[not found] <689eb3470907271102i904d81em6317302e373e0730@mail.gmail.com>
@ 2009-07-27 18:17 ` Anupama Chandwani
2009-07-27 18:45 ` Valdis.Kletnieks
0 siblings, 1 reply; 3+ messages in thread
From: Anupama Chandwani @ 2009-07-27 18:17 UTC (permalink / raw)
To: linux kernel mailing list
Hi,
I see min_low_pfn as an exported symbol so I am trying to print it
from a kernel module (also of GPL license), but I am getting a
undefined reference.
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?
--
Thanks,
Anupama Chandwani
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Undefined symbol "min_low_pfn"
2009-07-27 18:17 ` Undefined symbol "min_low_pfn" Anupama Chandwani
@ 2009-07-27 18:45 ` Valdis.Kletnieks
2009-07-27 19:07 ` Anupama Chandwani
0 siblings, 1 reply; 3+ messages in thread
From: Valdis.Kletnieks @ 2009-07-27 18:45 UTC (permalink / raw)
To: Anupama Chandwani; +Cc: linux kernel mailing list
[-- Attachment #1: Type: text/plain, Size: 457 bytes --]
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...
[-- Attachment #2: Type: application/pgp-signature, Size: 226 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Undefined symbol "min_low_pfn"
2009-07-27 18:45 ` Valdis.Kletnieks
@ 2009-07-27 19:07 ` Anupama Chandwani
0 siblings, 0 replies; 3+ messages in thread
From: Anupama Chandwani @ 2009-07-27 19:07 UTC (permalink / raw)
To: Valdis.Kletnieks; +Cc: linux kernel mailing list
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-07-27 19:13 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <689eb3470907271102i904d81em6317302e373e0730@mail.gmail.com>
2009-07-27 18:17 ` Undefined symbol "min_low_pfn" Anupama Chandwani
2009-07-27 18:45 ` Valdis.Kletnieks
2009-07-27 19:07 ` Anupama Chandwani
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®