75 votes 75 votes Let the time taken to switch from user mode to kernel mode of execution be $T1$ while time taken to switch between two user processes be $T2$. Which of the following is correct? $T1 > T2$ $T1 = T2$ $T1 < T2$ Nothing can be said about the relation between $T1$ and $T2$ Operating System gatecse-2011 operating-system context-switch easy ugcnetcse-june2013-paper3 + – go_editor asked Sep 29, 2014 • recategorized Oct 22, 2018 by Pooja Khatri go_editor 25.9k views answer comment Share Follow See all 3 Comments See all 3 3 Comments reply Chhotu commented Dec 1, 2017 i edited by Chhotu Dec 8, 2017 reply Follow Share Notice important point mentioned by @Sachin Mittal 1 -> Context switches can occur only in kernel mode. 20 votes 20 votes krishn.jh commented Jun 1, 2018 reply Follow Share http://www.linfo.org/context_switch.html This Link might be useful for understanding. 2 votes 2 votes kickassakash commented Oct 4, 2023 reply Follow Share fun fact is that when processes context switch they must go from user mode to kernel mode cuz we can’t access processes pcb(process control block) in user mode and we must store our data(register,stack and program counter values) in pcb before context switching. 2 votes 2 votes Please log in or register to add a comment.
–1 votes –1 votes c As cs between processes involve loading processor state cpu registers into ram. Jarvis answered Jun 20, 2015 Jarvis comment Share Follow See all 0 reply Please log in or register to add a comment.