Processes in Operating Systems


Process execution modes in Unix

Two modes of process execution: user mode and kernel mode
Normally, a process executes in the user mode. When a process executes a system call, the mode of execution changes from user mode to kernel mode. The bookkeeping operations related to the user process (interrupt handling, process scheduling, memory management) are performed in kernel mode.
User mode
Kernel mode

Threads