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@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies