Storing and retrieving process control block

后端 未结 3 1639
广开言路
广开言路 2021-02-02 03:26

When a process is in execution, the contents of the PCB (which is in kernel memory space?) are loaded onto the CPU registers, and status registers, kernel

3条回答
  •  不思量自难忘°
    2021-02-02 04:02

    It's the job of schedular to look for the processor availability, then only context switch happens. As soon as core is available the Program Counter Value of stored PCBs in kernal is taken and given to CPU registers. I would like to tell the PCBs are stored in stack fashion by the kernal.

提交回复
热议问题