Tags

#Pcid

1 post

Low-Latency Systems Development Topic 15 min read

Context Switches, Page Tables and the TLB

Threads are lighter than processes because the TLB and caches stay usable after the switch, not because the switch itself is cheaper. The TLB has no MESI: when any thread in a process changes the page tables, every core still …