Mapping of virtual to physical addresses

Stefan Tatschner rumpelsepp at sevenbyte.org
Wed Mar 22 03:02:19 EDT 2017


Hallo everybody,

currently I am trying to understand the internal memory allocation
mechanisms of the kernel. I am particularly interested in the
translation of virtual memory addresses to physical addresses.
Additionally, how are these physical addresses located in the relevant
RAM Modules? I have read that even in the kernel there are "virtual"
physical addresses... Could somebody give me some pointers to further
literature about this topic?

During my research, I discovered the /proc/pid/pagemap file [1]. I find
the documentation a bit sparse and I do not understand how I can use
this file properly. If somebody could share some examples, that would be
great!

Regards,
Stefan

[1]: https://www.kernel.org/doc/Documentation/vm/pagemap.txt



More information about the Kernelnewbies mailing list