Which of the following need not necessarily be saved on a context switch between processes?
A |
General-purpose registers |
B |
Translation look-aside buffer |
C |
Program counter |
D |
All of the above |
We don't need to save TLB or cache to ensure correct program resumption. They are just bonus for ensuring better performance. But PC, stack and registers must be saved as otherwise program cannot resume.
Thank You