3.2 and 3.6 2013329600158 ShengCheng Version 0 |
|
👤 Author: by 454931759qqcom 2015-09-27 12:02:40 |
3.2 Describe the actions taken by a kernel to context-switch between processes.
Answer: In general, the operating system must save the state of the currently running process and restore the state of the process scheduled to be run next. Saving the state of a process typically includes the values of all the CPU registers in addition to memory allocation. Context switches must also perform many architecture-specific operations, including flushing data and instruction caches.
3.6 The