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

Page table optimization #66

merged 7 commits into from Dec 18, 2017


Copy link

commented Dec 17, 2017

Use unused bits 51-61 in first entries of each page table as a counter for used entries.
I also removed unnecessary checks in unmap_inner.
After this change checking if page table is empty is a O(1) operation instead of O(N), where N is the number of entries.

@jackpot51 jackpot51 merged commit a9fa08f into redox-os:master Dec 18, 2017

This comment has been minimized.

Copy link

commented Dec 18, 2017

Thanks very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.