3 ms·
System calls are mode switch that's way faster than a context (i.e. process) switch. The latter virtually always has cold caches. I've made the remark because
by xxs 10y ago
System calls are mode switch that's way faster than a context (i.e. process) switch.
The latter virtually always has cold caches.
I've made the remark because it's fairly common to mistake mode and context switches.
- exDM69 10y agoYes, and the x86-64 has a fast SYSCALL instruction.
- monocasa 10y agoFast being in the thousands of cycles last time I checked.
- the_mitsuhiko 10y agoThe whole syscall maybe but certainly not the method of invoking it.
- deleted 10y ago[deleted]