Memory mapping and sharing

Each process maps areas of its address space to files or anonymous memory, which lets processes share code and lets fork copy memory only when a page is written.

From Computer systems, a programmer's view.