Context Switch Overhead

Which of the following contribute to the overhead of a context switch in an operating system?