GATE | GATE CS 1999 | Question 37

Which of the following actions is/are typically not performed by the operating system when switching context from process A to process B?

(A) Saving current register values and restoring saved register values for process B.
(B) Changing address translation tables.
(C) Swapping out the memory image of process A to the disk.
(D) Invalidating the translation look-aside buffer.


Answer: (C)

Explanation: During context switch processes are not swapped out from memory to disk but processes are generally swapped out from memory to disk when they are suspended. Also, during context switch OS invalidates TLB so that the TLB coincides with the currently executing processes.



So, option (C) is false.

Quiz of this Question



My Personal Notes arrow_drop_up


Article Tags :

Be the First to upvote.


Please write to us at contribute@geeksforgeeks.org to report any issue with the above content.