Question
Why can memory-mapped file I/O be efficient?
Select an option. Your answer will be checked instantly.
Correct Answer: D. It can avoid extra copying between a kernel buffer and a user buffer
Explanation:
Mapped I/O allows the page cache pages to appear directly in the process address space.
This can reduce system-call and data-copy overhead for suitable access patterns.
Leave a Reply