














Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!















-^
-^
-^
-^
-^
-^
memory maps, locks, queues, list pointers, …
-^
Statically limited # tasks
-^
Process Switching – FP Registers
-^
-^
-^
-^
clone(), fork(), vfork()– Fork duplicates (most) parent resources– Exec tears down old address space and installs a new one
(corresponding to process image on disk)
Old solution (hack): vfork– Parent/child share; parent blocks until child ends
-^
New solution: COW copy-on-write– Share r/w pages r/o until write (fault), then copy
-^
Linux solution: clone()– Specify what resources to share/duplicate– CLONE_VM, _FS, _FILES, _SIGHAND, _PID
-^