3 ms·
User/kernel space switch is a different kind of switch. Also when you do it cooperatively, context switches can be a bit more efficient as the runtime has bette
by gpderetta 3y ago
User/kernel space switch is a different kind of switch. Also when you do it cooperatively, context switches can be a bit more efficient as the runtime has better knowledge about the set of live registers at the switch point.
- otabdeveloper4 3y agoThe "different kind of switch" you talk about doesn't exist on any OS of the past 30 years.
- gpderetta 3y agoI'm talking about raising a process privilege level, via whatever syscall mechanism. Which is a completely different code path than a process/thread context switch and, among other things, doesn't require going through the scheduler.