Physical Address for pfn

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I need to obtain the physical address at which a specific pfn resides. I obtain the physical address as follows:


start addr = pfn * PAGE_SIZE

Thus if pfn = 2449689, then start addr = 0 x 2 5611 9000

When I apply this calculation to determine the start of the HIGHMEM physical address I get the correct value of 896MB.
However, the last pfn in HIGHMEM is 2490368 which returns a physical address of 0x2 6000 0000 which is 9.2 GB and I have only 8 GB of physical memory!

What am I doing wrong?

Thanks
Bithika


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux