Book-Excercise 3.2&3.6(yanqiang2013329620052) Version 0 |
|
👤 Author: by 1185918903qqcom 2015-09-25 10:21:00 |
3.2 Describe the actions taken by a kernel to context-switch between processes?
Key: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 registers in addition to memory allocation.Context switches must also perform many architecture-specific operations ,including flushing data and instruction caches.
3.6 Write a program u