胡松旺_Excercise 3.2&3.6(2013329620073) Version 0 |
|
👤 Author: by 627437351qqcom 2015-09-25 12:13:06 |
3.2 Describe the actions taken by a kernel to context-switch between processes?
Answer:
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 using