KAISER: hiding the kernel from user space
KAISER: hiding the kernel from user space
Posted Nov 15, 2017 5:54 UTC (Wed) by jreiser (subscriber, #11027)Parent article: KAISER: hiding the kernel from user space
(CR3 manipulation) add a few hundred cycles to a syscall or interrupt. That's a couple L3 cache misses [CAS latency on SDRAM has been ~60ns for decades] which probably is tolerable on a syscall. But hundreds of cycles is horrible for an interrupt. [33MHz is a common bus clock, so just generating an interrupt already requires an average latency of ~15ns.] Some architectures have a special interrupt context (and/or separate small locked caches) exactly for this reason.
