-
Notifications
You must be signed in to change notification settings - Fork 20
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
[TODO] mmap()
file mapping & shared [file] mapping
#39
Comments
Yep, that's exactly what I'm going to add next :) the hope is to use it in the linker to map program segments into memory to hopefully speed things up a little. |
It could be cool if the file mapping uses the VFS layer page-cache to share pages, in order to reduce memory usage |
That's what I'm hoping to do. Right now, the disk is cached at the block level, so it would rely on files being aligned at page boundaries. I may have to rework the VFS cache a little too. |
That's cool man! |
Update on this: I've got inode mappings working on a basic level. Shared and private mappings both work, but more can definitely be done to speed things up. In no particular order, here's a list of things I still need to do:
|
Great Man! |
Suggestion
Hi Aaron,
Good to see you still working on the VM subsystem.
I put this issue as a memo for the missing features of the mmap() implementation.
I hope you are already at work on it.
Keep going man!
The text was updated successfully, but these errors were encountered: