Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Figure out a sane memory API #7

Open
2 tasks
pczarn opened this issue Jun 15, 2014 · 1 comment
Open
2 tasks

Figure out a sane memory API #7

pczarn opened this issue Jun 15, 2014 · 1 comment

Comments

@pczarn
Copy link
Owner

pczarn commented Jun 15, 2014

We have a few abstractions for both physical and virtual memory management. Some methods (set, set_addr) need a second thought and documentation, whereas identity_map needs improvement.

Both i686 and ARM use paging schemes with two levels.

Perhaps use slices and iterators for virtual memory manipulation?

@pczarn pczarn changed the title Figure out a safe memory API Figure out a sane memory API Jun 15, 2014
@pczarn
Copy link
Owner Author

pczarn commented Jul 18, 2014

The Linux kernel uses a list of vm_area_structs 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/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant