Operating Systems Concepts glossary
37 terms you will meet in the free Operating Systems Concepts course, each explained in one or two sentences.
A
- Amdahl's law
- Maximum speedup = 1 ÷ (s + (1 − s) ÷ N), where s is the serial fraction and N the number of cores.
C
- Compare-and-swap
- An atomic instruction that updates a memory location only if it still holds an expected value.
- Concurrency
- Several tasks in progress during the same period, possibly interleaved on one core.
- Container
- An isolated group of processes sharing the host kernel, built from namespaces and cgroups.
- Context switch
- Saving one thread's or process's state and restoring another's so it can run on the CPU.
- Critical section
- Code that accesses shared data and must not run in more than one thread at a time.
D
- Deadlock
- A state where a set of threads each wait for a resource held by another, so none can proceed.
E
- Exception
- An event caused by the current instruction, such as division by zero or a page fault.
F
- fork
- A Unix system call that creates a child process as a copy of the caller.
H
- Hard link
- An additional directory entry pointing to the same inode as an existing file.
- Hypervisor
- Software that creates and runs virtual machines, each with its own operating system.
I
- Inode
- A Unix file system structure holding a file's metadata and pointers to its data blocks.
- Interrupt
- A signal from hardware that makes the CPU pause and run a kernel handler.
J
- Journaling
- Recording planned file system changes in a log before applying them, so crashes can be recovered quickly.
K
- Kernel
- The core of the operating system, running in kernel mode and managing processes, memory, files and devices.
- Kernel mode
- A privileged CPU mode in which all instructions and all memory are accessible.
L
- LRU
- Least recently used: a replacement policy that evicts the page unused for the longest time.
M
- Microkernel
- A kernel design that keeps only minimal services in kernel mode and runs others as user processes.
- Mutex
- A lock that allows only one thread at a time to hold it.
P
- Page fault
- An exception raised when a program accesses a page that is not currently mapped in RAM.
- Page table
- A per-process structure mapping virtual page numbers to physical frame numbers.
- Parallelism
- Several tasks executing at the same instant on different cores.
- Principle of least privilege
- Giving each user and program only the permissions it actually needs.
- Process
- A program in execution, with its own address space, threads and resources.
- Process control block (PCB)
- The kernel's record of a process: ID, state, saved registers, memory and open files.
R
- Race condition
- A bug where the result depends on the unpredictable timing of concurrent threads.
- Round robin
- A scheduling policy that gives each ready job a fixed time quantum in turn.
S
- Scheduler
- The part of the kernel that chooses which ready thread runs next on each core.
- Semaphore
- A counter with atomic wait and signal operations, used to limit or coordinate access.
- Starvation
- A situation where a thread waits indefinitely because others are always chosen first.
- System call
- A controlled request from a program to the kernel, such as open, read or fork.
T
- Thrashing
- Severe slowdown when processes constantly page in and out because their working sets don't fit in RAM.
- Thread
- An independent sequence of execution within a process, with its own registers and stack.
- TLB
- Translation lookaside buffer: a small, fast cache of recent page table translations.
U
- User mode
- A restricted CPU mode for applications, where privileged instructions are blocked.
V
- Virtual address
- An address used by a program, translated by the MMU into a physical address.
Z
- Zombie process
- A process that has exited but whose parent has not yet collected its exit status.
Put these terms to work
The Operating Systems Concepts course uses every one of these terms in short lessons with instant-feedback questions. It takes about 170 minutes and ends with a free certificate of completion.
Start the course Course overview