O'Reilly logo

Operating Systems: Concurrent and Distributed Software Design by Tim Harris, Jean Bacon

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

6.8. Integrating virtual memory and storage

6.8.1. File mapping

We have seen files used for persistent storage, and main memory for the storage of running programs and data. The most common programming language abstraction for stored data is the file; files are named and used explicitly in programs.

We have seen in Section 6.5 that the filing system maintains a cache of buffers in main memory and that users' requests are satisfied from those buffers. This means that on a read, data is first written into the system buffers and then copied to the application. On a write, data is copied into system buffers, then written to disk. The efficiency of file input and output could be improved if this copying was avoided.

The integration of virtual memory ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required