Mapping of virtual to physical addresses

Stanislaw Drozd drozdziak1 at gmail.com
Wed Mar 22 06:27:14 EDT 2017


Hello Stefan,
have you tried consulting LDD3 (Linux Driver Development, 3rd edition)
on the matter?
https://lwn.net/Kernel/LDD3/

Chapter 15 may be especially of your interest.

On 22.03.2017 08:02, Stefan Tatschner wrote:
> 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
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies





More information about the Kernelnewbies mailing list