24.6. Process creation, termination and scheduling
In this section we will describe how processes are managed in UNIX, including the mechanisms for their creation and the way in which the CPU scheduler selects which process to run at any particular instant. As with any operating system, a basic requirement that a user places on it is to load some specified program and have it executed by a process. The code may be the binary file resulting from compilation of a user's program or be a system utility.
Figure 24.10 shows the address space that is set up for a process by UNIX. Each process has its own logical address space, meaning that the translation from virtual addresses to physical addresses is changed upon each context switch. Typically this ...
Get Operating Systems: Concurrent and Distributed Software Design now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.