4 ms·
Actually, you don't need to run any functions to cause a context switch. For example, at the very lowest level, even trying to access a memory page that is pres
by lmilcin 5y ago
Actually, you don't need to run any functions to cause a context switch. For example, at the very lowest level, even trying to access a memory page that is presently in physical memory but does not have entry in TLB causes CPU to interrupt to OS to ask for mapping.