3
votes
Accepted
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 ...
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 ...
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 ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
paging × 97operating-systems × 71
memory-management × 50
virtual-memory × 48
computer-architecture × 5
cpu-cache × 5
process-scheduling × 5
memory-allocation × 5
algorithms × 4
hash-tables × 3
memory-hardware × 3
cpu × 2
os-kernel × 2
cache × 2
page-replacement × 2
data-structures × 1
terminology × 1
reference-request × 1
hash × 1
memory-access × 1
performance × 1
threads × 1
filesystems × 1
storage × 1
garbage-collection × 1