Open pczarn opened 10 years ago
The Linux kernel uses a list of vm_area_struct
s that hold all information stored in the architecture-specific page table and everything else needed to fully describe a memory area.
http://duartes.org/gustavo/blog/post/how-the-kernel-manages-your-memory/
We have a few abstractions for both physical and virtual memory management. Some methods (
set
,set_addr
) need a second thought and documentation, whereasidentity_map
needs improvement.Both i686 and ARM use paging schemes with two levels.
Perhaps use slices and iterators for virtual memory manipulation?