看了看,context switch分两步: 1. Switching the Page Global Directory to install a new address space; . 2. Switching the Kernel Mode stack and the hardware context, which provides all the information needed by the kernel to execute the new process , including the CPU registers. 应该是整个PCB都被switch 进入kernel stack,