in Operating System
11,892 views
41 votes
41 votes

Which of the following need not necessarily be saved on a context switch between processes?

  1. General purpose registers
  2. Translation look-aside buffer
  3. Program counter
  4. All of the above
in Operating System
11.9k views

1 comment

please reupload the image or mention the question number
0
0

6 Answers

0 votes
0 votes
→ Actually TLB (or) Cache memory is to ensure correct program resumption.
→ With TLB (or) Cache memory we can get better performance but not mandatory.
→ Program counter, stack, I/O status information and registers must be saved on a context switch between processes.
0 votes
0 votes

Answer: (B)

TLB data is not necessary to save in memory. Let TLB load automatically on TLB misses. Because it take almost same time as we manually save TLB data on context switch and again load TLB data when execution resumes

Answer:

Related questions