662 views

1 Answer

1 votes
1 votes

http://stackoverflow.com/questions/7439608/steps-in-context-switching

a. Hardware support speeds up context switching- for example saving/restoring registers. 

b. Memory speed also matters- because process state is saved on stack and it is in memory.

c. Also matters as it can be attributed to special hardware

d. process size also matters as say for example, for a smaller process we require small amount of page tables (assuming multilevel paging).

e. Matters as long as register copying doesn't work in parallel, anyway this is not in options. 

Related questions

0 votes
0 votes
1 answer
2
0 votes
0 votes
0 answers
3