Hot answers tagged

3 votes

How does caching, paging, virtual memory, and OS all tie together for UNIX copy-on-write?

It seems like your understanding of the matter is pretty good. You are just missing one tiny trick: Make the pages read-only. When the OS forks the process, it maps ...
Jörg W Mittag's user avatar
2 votes

Memory (physical addressing)

The whole point of using the abstraction of virtual addresses (which is to say, giving every process the illusion that it has all the memory reserved for itself) is to free the application software ...
Nathan Davis's user avatar
1 vote

Page allocation for a program

It depends on the operating system, in general. Some don't load the first code page, but let the load-on-demand system handle that! The ABI does determine the state of the user program at the point ...
Pseudonym's user avatar
  • 21.6k

Only top scored, non community-wiki answers of a minimum length are eligible