Re: Fwd: Given a struct page *, how to find corresponding physical address?

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

 



chen free wrote:

Actually I was referring to the (attached) diagram given in Linux
Kernel Development by Robert Love.

It suggests that what we get is a struct page.

That diagram is wrong.  Page tables point directly to
physical memory.  This is necessary because the MMU
has no idea what a struct_page looks like - those are
different between different OSes and even between
different versions of the same OS!

--
"You don't have to be crazy to do this... but it helps." -- Bob Ross

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[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