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

chapters/data/process-memory/drills/tasks/alloc-size: Move task to the I/O chapter. #135

Open
teodutu opened this issue Nov 11, 2024 · 0 comments
Labels
area/code Update or new source code support / solution files area/content Content (Markdown) update area/tasks Update to tasks kind/improve Improve / Update existing content / item topic/data Related to "Data" chapter topic/io Related to "Input/Output" chapter

Comments

@teodutu
Copy link

teodutu commented Nov 11, 2024

The task asks students to benchmark copying a file with mmap() and read() + write(). This requires using file descriptors as well as calling read() and write() in a loop, which is better suited for the I/O chapter where this approach is explained.

This exercise should be moved to the I/O chapter and replaced with a few exercises focused solely on mmap(): using various access rights and flags, mappings with and without file backings.

@teodutu teodutu added kind/improve Improve / Update existing content / item area/code Update or new source code support / solution files topic/data Related to "Data" chapter area/content Content (Markdown) update topic/io Related to "Input/Output" chapter area/tasks Update to tasks labels Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/code Update or new source code support / solution files area/content Content (Markdown) update area/tasks Update to tasks kind/improve Improve / Update existing content / item topic/data Related to "Data" chapter topic/io Related to "Input/Output" chapter
Projects
None yet
Development

No branches or pull requests

1 participant