I recently read about the process address space and PCB and trying to link them together. I don't find much literature on their relation.

Is the process address space a part of the PCB data structure?

  • $\begingroup$ The process address space is handled by the memory manager of the OS. $\endgroup$
    – user16034
    Feb 5, 2023 at 9:51

1 Answer 1


Let me start off like this.

The process state includes all the registers that the process may be using, especially the Program counter, plus any other operating system-specific data that may be necessary. This is usually stored in a data structure called a process control block (PCB) or switch frame.

This is what happens in context switching. The PCB is stored on a per-process stack in kernel memory (as opposed to the user-mode call stack), or there may be some specific operating system-defined data structure for this information.

When a process is ready to run again, its PCB is restored. The program counter from the PCB is loaded, and thus execution can continue in the chosen process.

So, the process's address space is not a part of the PCB data structure.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.