Which happens the most, context switches or mode switches?
I have two answers myself, but I do not know which one is correct:
Context switches happen in user mode, but this does not mean that a system call is needed; therefore, mode changes do not happen when a context switch occurs.
Context switches mean a dispatch is needed. I think this is privileged, so a mode change from user to kernel mode is needed to do a context switch. Which means a context switch goes along with a mode switch.
Anyone have a definite answer to this?