What is normally meant by a “context switch”?
A. Any change in state of a process as it executes.
B. Saving the state of one process and restoring the state of another process so that the CPU moves from running one process to running the other.
C. The switch between a process running in user mode to running in kernel mode. This can happen as the result of a system call or an exception.
D. The change which occurs on the stack of a running process as it makes a function call, including the allocation of memory for any parameters and the local variables.
Answer:B
What is normally meant by a “context switch”?
A. Any change in state of a process as it executes. B. Saving the state of one process and restoring the state of another process so that the CPU moves from running one process to running the other. C. The switch between a process running in user mode to running in kernel mode. This can happen as the result of a system call or an exception. D. The change which occurs on the stack of a running process as it makes a function call, including the allocation of memory for any parameters and the local variables.