Loading page…
Saving one execution context (registers, stack pointer, page tables) and restoring another, so a CPU can multiplex threads and processes.
Linux context switches cost roughly a microsecond plus cache pollution; the assembly that swaps stacks is a rite of passage in OS courses.