Skip to content
Free public beta until December 4, 2026: every course is open, no card needed. After that, the first chapter of each course stays free and full access is a one-time $39 ($19 for up to 100 founding members chosen for helpful feedback). Your progress is kept. How the beta works

context switch

Saving everything about one running program (its registers and where it was) and loading another's, so the core can run the other one.

A context switch saves one thread's architectural state (general and FP/vector registers, stack pointer, PC, flags) in the kernel and restores another's; switching between processes also switches the page-table base register, which may require TLB invalidation unless entries are tagged (PCID, ASID).

Read the full section →