Podcast
Questions and Answers
Which of the following is NOT a reason for a context switch to occur?
Which of the following is NOT a reason for a context switch to occur?
- The application has been preempted
- The context is out of memory (correct)
- The application has yielded its time slice
- A kernel function has been called
What information may be stored and retrieved during a context switch?
What information may be stored and retrieved during a context switch?
- EIP and general registers
- Segment registers and CR3
- FPU/MMX and SSE registers
- All of the above (correct)
Why can a context switch be a costly operation in an operating system?
Why can a context switch be a costly operation in an operating system?
- It requires hardware support
- It is time-consuming
- It can only be done in software
- It involves changing a large amount of data (correct)
How do most modern operating systems perform context switches?
How do most modern operating systems perform context switches?
What is a context in a memory-protected environment?
What is a context in a memory-protected environment?
Which of the following is NOT a reason for a context switch to occur?
Which of the following is NOT a reason for a context switch to occur?
What does a context switch involve?
What does a context switch involve?
Why do most modern operating systems perform context switches in software?
Why do most modern operating systems perform context switches in software?
What can a context switch be considered as?
What can a context switch be considered as?
What information may be stored and retrieved during a context switch?
What information may be stored and retrieved during a context switch?
Which of the following is NOT a reason for a context switch to occur?
Which of the following is NOT a reason for a context switch to occur?
What is the purpose of a context switch?
What is the purpose of a context switch?
Which registers may be stored and retrieved during a context switch?
Which registers may be stored and retrieved during a context switch?
Why can a context switch be the most costly operation in an operating system?
Why can a context switch be the most costly operation in an operating system?
How do most modern operating systems perform context switches?
How do most modern operating systems perform context switches?