Operating Systems Dictionary

Terms used in the course, each with a short definition and the chapter where it is explained. The chapter column links to that chapter's lecture notes.

TermDefinitionChapter
abstractionHiding the complicated details of hardware and presenting concepts such as processes, files, and address spaces instead.1 · Introduction
access control list (ACL)A list that states who may access an object and with which rights.13 · Security
access matrixA protection model whose rows are domains and columns are objects, with the permitted rights stored in each cell.13 · Security
address spaceThe set of memory addresses that a process can use.2 · Operating-System Structures
address space layout randomization (ASLR)Choosing the addresses of code, stack, and libraries at random on every run to make attacks harder.13 · Security
agingRaising the priority of a waiting process over time to prevent starvation; also a counter technique in page replacement.5 · CPU Scheduling
Amdahl's lawThe law stating that the serial part of a program limits the maximum speedup from parallelism.4 · Threads
application programming interface (API)The library functions a programmer calls, which use system calls underneath.2 · Operating-System Structures
atomic instructionA hardware instruction that performs a read and a write without being interrupted (TSL, XCHG, CAS).6 · Synchronization
authenticationVerifying that a user is who they claim to be.13 · Security
authorizationThe step that decides which resources an authenticated user may access and with which rights.13 · Security
backing store (swap space)The disk area that holds pages not currently in memory.9 · Virtual Memory
banker's algorithmAn avoidance algorithm that knows maximum claims in advance and allows only safe states.7 · Deadlocks
barrierA synchronization tool that makes a group of processes or threads meet at a point; none may pass until all have arrived.6 · Synchronization
base and limit registersRegisters that hold the start and the size of a process's memory region.8 · Memory Management
batch systemAn early type of system in which jobs run one after another without user interaction.1 · Introduction
Belady's anomalyThe fact that with FIFO, increasing the number of frames can increase the number of page faults.9 · Virtual Memory
binding timeThe moment when a name is bound to an object: compile time, load time, or run time.14 · Operating-System Design
bitmapA structure that records free or used status with one bit per unit.8 · Memory Management
block / character deviceClasses of devices that transfer data as addressable blocks or as a stream of bytes.11 · Input/Output
blocking / nonblocking / asynchronous I/OI/O interfaces that make the caller wait, return immediately, or notify the caller when finished.11 · Input/Output
bootingThe process that starts from firmware at power-on and loads the kernel into memory.2 · Operating-System Structures
bootloaderA small program that runs after the firmware and loads the kernel (GRUB).15 · Linux
bounded waitingThe condition that a process waits only a bounded number of turns before entering its critical section.6 · Synchronization
Brooks's lawThe observation that adding people to a late software project makes it later.14 · Operating-System Design
buddy systemAn allocator that splits memory into power-of-two blocks and merges buddy blocks.9 · Virtual Memory
buffer / bufferingHolding transferred data temporarily in memory.11 · Input/Output
buffer cacheA cache that keeps disk blocks in memory.10 · File Systems
buffer overflowA write beyond the bounds of a buffer that corrupts adjacent memory, such as the return address.13 · Security
busA shared communication line that connects components (PCIe, USB).11 · Input/Output
busy waitingWaiting by repeatedly testing a condition in a loop; it consumes CPU time.6 · Synchronization
cacheA memory that holds frequently used data at a faster level.8 · Memory Management
cache coherenceKeeping copies of the same data in different caches consistent.12 · Multiprocessor Systems
cache hit / missThe wanted data is found in the cache (hit) or not found (miss).8 · Memory Management
cache lineThe smallest block transferred between cache and memory (usually 64 bytes).8 · Memory Management
capabilityAn unforgeable token held by a process that grants access to an object with specific rights.13 · Security
cascading terminationTerminating all children when a parent process terminates; in UNIX the children are instead adopted by a new parent.3 · Processes
certificateA document that proves, with a trusted authority's signature, to whom a public key belongs.13 · Security
certificate authority (CA)An organization that vouches with its signature that the public key in a certificate belongs to its owner.13 · Security
checkpointThe moment when a process's state is saved to disk; after a deadlock the process can be rolled back to this point.7 · Deadlocks
circular waitProcesses waiting for one another in a way that forms a cycle.7 · Deadlocks
client–server modelA structure in which services run in server processes and exchange messages with clients.2 · Operating-System Structures
clock algorithmAn implementation of second chance using a circular list and a hand (pointer).9 · Virtual Memory
clock cycleOne period of the processor clock; in a pipeline each stage takes one cycle.8 · Memory Management
Coffman conditionsMutual exclusion, hold and wait, no preemption, and circular wait.7 · Deadlocks
compactionShifting used regions together to merge the free space.8 · Memory Management
compare-and-swap (CAS)An atomic instruction that writes a new value if the value at the address equals the expected one, and always returns the old value.6 · Synchronization
Completely Fair Scheduler (CFS)Linux's scheduler that emulates an ideal multitasking processor by always choosing the task with the smallest virtual runtime.15 · Linux
compression (lossy / lossless)Representing data with fewer bits, with or without losing information.9 · Virtual Memory
concurrencySeveral activities making progress interleaved over time; they need not run at the same instant.3 · Processes
condition variableAn object on which a thread waits with wait until a condition holds and is woken with signal.6 · Synchronization
conditional compilationIncluding or leaving out parts of the code at compile time according to preprocessor conditions.14 · Operating-System Design
confidentiality / integrity / availability (CIA)The three basic goals of security.13 · Security
containerA group of processes that share the same kernel but are isolated with namespaces and cgroups.12 · Multiprocessor Systems
context switchSaving the state and loading a new one in order to move the CPU from one process to another.3 · Processes
contiguous allocationGiving each process (or file) a single, consecutive region.8 · Memory Management
control group (cgroup)A Linux mechanism that limits and measures the CPU, memory, and I/O use of groups of processes.15 · Linux
convoy effectShort jobs piling up and waiting behind a long one; it increases the average waiting time in FCFS scheduling.5 · CPU Scheduling
cooperative multitaskingAn arrangement in which the operating system can take back the processor only when the program yields it or makes a system call.3 · Processes
copy-on-write (COW)Copying a shared page only when one of the sharers writes to it.9 · Virtual Memory
core dumpA file into which the memory image of a process killed by a signal is written, depending on system settings.3 · Processes
covert channelA channel that leaks information along a path the security policy did not anticipate.13 · Security
CPU burstThe time a process uses the CPU continuously between two I/O operations.5 · CPU Scheduling
CPU schedulingDeciding which of the ready processes gets the CPU.5 · CPU Scheduling
CPU-bound / I/O-boundA process that spends most of its time computing or waiting for I/O, respectively.3 · Processes
critical section (region)The piece of code that accesses shared data and that only one process may be in at a time.6 · Synchronization
crossbar switchAn interconnect that joins every processor to every memory module with a separate crosspoint; it is conflict-free but expensive.12 · Multiprocessor Systems
C-SCANA SCAN variant that serves in one direction only: on reaching the end, the head returns to the start of the disk without serving.11 · Input/Output
data / task parallelismIn data parallelism the data is split and each core performs the same operation on its part; in task parallelism each core runs a different task.4 · Threads
deadlockA situation in which each process waits forever for a resource held by another process in the set.7 · Deadlocks
deadlock avoidanceGranting each request only if it will not put the system into an unsafe state.7 · Deadlocks
deadlock detectionFinding whether the system is deadlocked by using graphs or matrices.7 · Deadlocks
deadlock preventionMaking one of the four conditions structurally impossible.7 · Deadlocks
deadlock recoveryResolving a deadlock by preempting resources, rolling back, or terminating processes.7 · Deadlocks
defense in depthThe principle of using several independent layers of security so that the others still protect if one is breached.13 · Security
defragmentationMaking the scattered blocks of files on a disk contiguous again.10 · File Systems
demand pagingBringing pages into memory only when they are first accessed.9 · Virtual Memory
denial of serviceAn attack that makes a system unable to serve legitimate users.13 · Security
device controllerThe hardware unit that drives a device directly and has registers and a buffer.11 · Input/Output
device driverSoftware running in the kernel that talks to a particular controller.11 · Input/Output
digital signatureA digest signed with a private key and verified with the public key.13 · Security
dining philosophers problemA classic synchronization problem that illustrates deadlock and starvation with shared resources.6 · Synchronization
direct memory access (DMA)A controller transferring data directly to memory without keeping the CPU busy.11 · Input/Output
directoryA special file that maps file names to files.10 · File Systems
directory entryA record in a directory that maps a name to an i-node number.10 · File Systems
discretionary access control (DAC)Access control in which the owner of an object decides who gets which permission.13 · Security
disk schedulingChoosing the order of pending disk requests (SSTF, SCAN, C-LOOK).11 · Input/Output
dispatch latencyThe time it takes the dispatcher to stop one process and start another.5 · CPU Scheduling
dispatcherThe module that gives the CPU to the selected process: context switching and mode change.5 · CPU Scheduling
distributed shared memoryA method that makes the memories of separate machines appear as one shared address space at page granularity.12 · Multiprocessor Systems
dual-mode operationHardware protection of the OS by separating kernel mode and user mode.2 · Operating-System Structures
dynamic loadingNot loading a routine into memory until it is called; code that is never called is never loaded.8 · Memory Management
earliest deadline first (EDF)A dynamic-priority algorithm that runs the task whose deadline is nearest.5 · CPU Scheduling
Earliest Eligible Virtual Deadline First (EEVDF)The selection rule of the fair class since Linux 6.6: among eligible tasks, run the one with the earliest virtual deadline.15 · Linux
eBPF (extended Berkeley Packet Filter)A virtual machine in the Linux kernel in which small, verified programs run safely.14 · Operating-System Design
effective access time (EAT)The average memory access time, taking TLB and page-fault probabilities into account.8 · Memory Management
eligibilityIn EEVDF, a task having received less CPU than it deserves; only eligible tasks can be chosen.15 · Linux
encryptionMaking data unreadable without a key.13 · Security
entry / exit / remainder sectionThe code that asks permission before entering the critical section, the code that announces leaving it, and the rest of the code.6 · Synchronization
event loopA loop that waits for events and dispatches each to its handler in order.14 · Operating-System Design
event-driven codeA program whose flow is determined by handlers attached to incoming events.14 · Operating-System Design
exceptionAn unusual condition that occurs while an instruction executes (division by zero, page fault).11 · Input/Output
executable fileA program file in a format the loader can load into memory and run (ELF, PE).1 · Introduction
exokernelA kernel that only allocates resources with protection and leaves abstraction to libraries.2 · Operating-System Structures
exploitCode or a method that exploits a vulnerability so that an attacker reaches a goal.13 · Security
exponential averageA method that predicts the next CPU burst as an average of past bursts whose weights decrease.5 · CPU Scheduling
exponential backoffWaiting after a failed lock attempt and doubling the wait time with every failure.12 · Multiprocessor Systems
extensible systemAn operating system to whose kernel new functionality can be added at run time.14 · Operating-System Design
external nameA human-readable name given by a user to an object (for example a file path).14 · Operating-System Design
fair-share schedulingScheduling in which the processor share is given to users or groups rather than to processes.5 · CPU Scheduling
false sharingUnnecessary coherence traffic caused by different variables being in the same cache line.12 · Multiprocessor Systems
fetch–decode–execute cycleThe basic working cycle that the CPU repeats for every instruction.1 · Introduction
FIFO page replacementA replacement algorithm that keeps pages in a queue in load order and evicts the page loaded earliest when space is needed.9 · Virtual Memory
file allocation table (FAT)A structure in linked allocation that keeps block chains in a single table at the start of the disk; entry i is the number of the block that follows block i.10 · File Systems
file attributes (metadata)The information about a file other than its contents: name, size, owner, permissions, timestamps, and so on.10 · File Systems
file descriptorA small integer in the process table that represents an open file.10 · File Systems
file lockingLocking a file or a region of it against simultaneous access.15 · Linux
file systemSoftware that organizes, names, and protects files and directories on a disk.10 · File Systems
firewallA defense component at the network layer that lets through only permitted connections.13 · Security
first-come, first-served (FCFS)A nonpreemptive algorithm that runs processes in order of arrival.5 · CPU Scheduling
flash translation layer (FTL)The layer in an SSD controller that redirects every write to a new, free page and maps the logical block address to that page.10 · File Systems
forward secrecyThe property that old sessions cannot be decrypted even if a long-term key is later compromised.13 · Security
frame (page frame)A block of physical memory of the same size as a page.8 · Memory Management
futex (fast userspace mutex)A fast lock that waits in user space when there is no contention and in the kernel when there is.14 · Operating-System Design
fuzzingA technique that gives a program random or semi-random inputs to look for crashes and bugs.14 · Operating-System Design
gang schedulingRunning related threads together in the same time slice.12 · Multiprocessor Systems
global / local replacementIn global replacement the victim is chosen among all frames; in local replacement a process chooses the victim only from its own frames.9 · Virtual Memory
graphical user interface (GUI)An interface that provides visual interaction with windows, icons, menus, and a pointer.1 · Introduction
guest operating systemThe operating system that runs inside a virtual machine.2 · Operating-System Structures
GUID partition table (GPT)A partitioning format that is part of the UEFI standard, uses 64-bit LBAs, and identifies each partition with a GUID.10 · File Systems
happens-beforeAn ordering relation that guarantees one thread's writes are visible to another thread; for example, join provides it.4 · Threads
hard / soft real-timeIn a hard real-time system, missing a deadline is a failure; in a soft one, critical tasks have priority but there is no guarantee.5 · CPU Scheduling
hard disk drive (HDD)A secondary storage device that stores data on rotating magnetic platters.11 · Input/Output
hard link / symbolic linkA second name that points to the same i-node, or a special file that contains another path.10 · File Systems
hash function (cryptographic)A function that produces a fixed-size, irreversible digest from data.13 · Security
hashed page tableA page table searched by the hash of the virtual page number.8 · Memory Management
hierarchical page tableKeeping the page table in a multilevel tree form by paging the page table itself.8 · Memory Management
hintCached information that need not be correct; if it is wrong it can be cheaply checked and corrected.14 · Operating-System Design
hit (cache)The wanted data being found in the cache.8 · Memory Management
hold and waitThe condition that a process holding resources waits for new ones.7 · Deadlocks
holeA free block of memory left between processes in variable partitioning.8 · Memory Management
hybrid kernelA structure that combines microkernel ideas with a monolithic kernel (Windows, macOS).2 · Operating-System Structures
hypercallIn paravirtualization, a direct call that the guest operating system makes to the hypervisor instead of executing sensitive instructions.12 · Multiprocessor Systems
hypercubeAn interconnect in the shape of an n-dimensional cube; each of the 2n nodes is linked to n neighbors.12 · Multiprocessor Systems
hypervisorThe software layer that creates and runs virtual machines.12 · Multiprocessor Systems
i-nodeA structure that holds a file's attributes and block addresses.10 · File Systems
indexed allocationKeeping all block addresses of a file in one index block (the i-node).10 · File Systems
indirectionReaching an object not directly but through an intermediate name or table; it provides flexibility.14 · Operating-System Design
internal / external fragmentationUnusable free space inside an allocated region or between regions.8 · Memory Management
internal fragmentationMemory wasted in the unused inner part of an allocated block (for example, a page).9 · Virtual Memory
internal nameThe name by which the system knows an object internally (for example, an i-node number).14 · Operating-System Design
interprocess communication (IPC)The methods processes use to exchange data and coordinate.3 · Processes
interruptA device or event stopping the CPU's flow and switching it to a handler.11 · Input/Output
interrupt handlerThe routine that runs in the kernel when an interrupt arrives.11 · Input/Output
interrupt vectorA table entry that gives the handler address for an interrupt number.11 · Input/Output
interrupt-driven I/OAn I/O method in which the device alerts the CPU with an interrupt when it is ready.11 · Input/Output
inverted page tableA single, system-wide table that keeps one entry per physical frame.8 · Memory Management
isolationThe property that a fault or data in one component does not affect the others.14 · Operating-System Design
journalingSurviving crashes by first writing changes to a log and then applying them in place.10 · File Systems
kernelThe central part of the operating system that runs in kernel mode and accesses hardware directly.1 · Introduction
kernel modeThe privileged mode in which all instructions and hardware can be used.1 · Introduction
kernel threadA thread that runs only in kernel mode and that the kernel creates for its own work.14 · Operating-System Design
layered systemAn OS structure in which each layer uses only the services of the layer below.2 · Operating-System Structures
least recently used (LRU)An algorithm that evicts the page that has gone unaccessed for the longest time.9 · Virtual Memory
lightweight process (LWP)The old name for threads; they are called lightweight because creating one is much cheaper than creating a new process.4 · Threads
limited direct executionThe program runs directly on the processor at full speed, but asks the kernel for privileged work and gives the processor back by a timer.3 · Processes
linked allocationLinking the blocks of a file together with pointers.10 · File Systems
linkerThe tool that combines object files and static libraries, resolves symbols, and produces an executable file.2 · Operating-System Structures
livelockA situation in which processes keep changing state but cannot make progress.7 · Deadlocks
load balancingDistributing work evenly among processors (push/pull migration).5 · CPU Scheduling
loadable kernel module (LKM)A piece of code that can be added to and removed from the kernel while it runs (drivers).15 · Linux
loaderThe kernel component that reads the header of an executable file and maps its code and data segments into the process's address space.2 · Operating-System Structures
localityThe tendency of programs to access a small address region within a short time.9 · Virtual Memory
lock-freeStructures written with atomic instructions such as CAS instead of locks, in which the system as a whole always makes progress.6 · Synchronization
logical / physical addressThe address generated by the CPU and the address seen by the memory unit, respectively.8 · Memory Management
log-structured file system (LFS)A file system design that treats the whole disk as a single log, buffering writes in memory and appending them to the disk in one long sequential write.10 · File Systems
lottery schedulingProportional-share scheduling that gives processes tickets and distributes the CPU by a random drawing.5 · CPU Scheduling
mailboxIn indirect message passing, an object with a unique identity into which messages are sent and from which they are received (a port).3 · Processes
main memory (RAM)The memory that the CPU accesses directly and in which programs and data are held while running.8 · Memory Management
malwareHarmful software such as viruses, worms, Trojan horses, and ransomware.13 · Security
man-in-the-middle attackAn attack in which an attacker gets between two parties and reads or changes their messages.13 · Security
mandatory access control (MAC)Access control that system policy enforces regardless of the owner's wishes (SELinux).13 · Security
marshallingIn RPC, the stub packing a procedure's parameters into a message to send over the network.12 · Multiprocessor Systems
master boot record (MBR)The old partitioning format that holds boot loader code and four partition entries in the first sector of the disk; it cannot address beyond 2 TiB.10 · File Systems
master-slave modelA multiprocessor arrangement in which the operating system runs on only one processor and the others run only user programs.12 · Multiprocessor Systems
measured bootHashing each boot component before it runs and extending the digest into a PCR; the final value summarizes the whole chain.13 · Security
memory barrier (fence)An instruction that forces earlier memory operations to become visible before later ones.6 · Synchronization
memory consistency modelRules that determine in which order writes to different addresses are seen by other cores (for example x86-TSO).12 · Multiprocessor Systems
memory hierarchyThe layers of memory from fast, small, and expensive levels to slow, large, and cheap ones.1 · Introduction
memory managementThe tasks of allocating, protecting, and reclaiming memory for processes.8 · Memory Management
memory management unit (MMU)The hardware that translates logical addresses into physical addresses at run time.8 · Memory Management
memory-mapped fileMapping a file's pages into the address space so that it is read and written like memory (mmap).9 · Virtual Memory
memory-mapped I/OMapping device registers into the memory address space.11 · Input/Output
MESI protocolA coherence protocol in which a cache line is in one of the states Modified, Exclusive, Shared, or Invalid.12 · Multiprocessor Systems
messageThe unit of data sent between processes or machines.3 · Processes
message passingProcesses exchanging messages through the kernel with send and receive.3 · Processes
message-signaled interrupts (MSI)Delivering an interrupt not over a wire but as a memory write that contains the vector number (the extended form is MSI-X).11 · Input/Output
microkernelA structure that leaves only IPC, scheduling, and address-space management in the kernel.2 · Operating-System Structures
middlewareA software layer that gives applications a common model in a distributed system.12 · Multiprocessor Systems
monitorA construct that wraps shared data and the procedures that use it with automatic mutual exclusion.6 · Synchronization
monolithic kernelA structure in which all OS services run in a single address space in kernel mode.2 · Operating-System Structures
mountAttaching a file system to a point in the directory tree.10 · File Systems
multi-factor authenticationAuthentication using at least two of something you know, something you have, and something you are.13 · Security
multicomputerA tightly coupled collection of computers in which each node has its own memory and the nodes communicate by messages.12 · Multiprocessor Systems
multicoreSeveral independent processor cores on a single chip.1 · Introduction
multilevel feedback queue (MLFQ)Scheduling that moves processes between queues according to their behavior.5 · CPU Scheduling
multilevel queue (MLQ)Scheduling that divides processes into fixed classes with separate queues.5 · CPU Scheduling
multiprogrammingKeeping several jobs in memory and running another while one waits for I/O.1 · Introduction
multithreaded processA process that runs several threads sharing the same address space.4 · Threads
mutexA binary lock with an owner, used for mutual exclusion.6 · Synchronization
mutual exclusionThe condition that at most one process is in the critical section at a time.6 · Synchronization
namespaceA Linux feature that gives a group of processes a separate view of resources such as PIDs, network, and mounts.15 · Linux
network file system (NFS)A protocol that gives access to files on a remote machine as if they were local.10 · File Systems
no preemptionOne of the four conditions for deadlock: a resource cannot be taken from a process that holds it unless the process releases it.7 · Deadlocks
nonpreemptable resourceA resource that would be corrupted if taken back from its owner (for example a printer or a lock).7 · Deadlocks
not recently used (NRU)An algorithm that classifies pages into four classes by their R and M bits and, on a fault, evicts a page from the lowest nonempty class.9 · Virtual Memory
NUMA (non-uniform memory access)A multiprocessor arrangement in which each processor accesses local memory faster than remote memory.12 · Multiprocessor Systems
omega networkA staged, cheaper processor-memory interconnect built from a small number of 2×2 switches.12 · Multiprocessor Systems
OOM killer (out-of-memory killer)The Linux kernel mechanism that, when memory runs out, picks one of the processes using the most memory and terminates it with SIGKILL.3 · Processes
open-file tableA kernel table that holds the position and status information of open files.10 · File Systems
operating system (OS)The basic software that manages the hardware and provides abstractions to applications.1 · Introduction
operating system servicesThe functions the OS provides to users and programs, such as program execution, I/O, files, and communication.2 · Operating-System Structures
optimal page replacement (OPT)The algorithm that evicts the page that will not be used for the longest time; it is an unimplementable yardstick.9 · Virtual Memory
orphan processA process whose parent has terminated before it.3 · Processes
orthogonalityThe ability to combine independent concepts freely and without side effects.14 · Operating-System Design
pageA fixed-size block of the logical address space.8 · Memory Management
page cacheA cache that keeps file data in memory in page units.10 · File Systems
page faultA trap that occurs when a page not in memory is accessed.9 · Virtual Memory
page locking (pinning)Setting a lock bit on a frame to keep it out of the replacement candidates; for example, for a buffer in use by DMA.9 · Virtual Memory
page offsetThe lower n bits (d) of a logical address, giving the byte position within the page.8 · Memory Management
page replacementChoosing which page to remove from memory when there is no free frame.9 · Virtual Memory
page tableThe table that records in which frame each page lies.8 · Memory Management
page table entry (PTE)An entry that holds the frame number and the valid, protection, dirty, and reference bits.8 · Memory Management
page-table base register (PTBR)The register that holds the starting address of the page table in main memory (CR3 on x86); only this register changes on a context switch.8 · Memory Management
pagingDividing logical memory into pages and physical memory into frames and mapping between them.8 · Memory Management
paging daemonA kernel thread that wakes periodically, frees pages in advance when free frames are few, and writes dirty pages to disk.9 · Virtual Memory
parallelismSeveral tasks truly running at the same time on separate processors.3 · Processes
paravirtualizationThe guest OS cooperating with the hypervisor through direct calls (hypercalls).12 · Multiprocessor Systems
parent / child processThe process that creates a process with fork is the parent; the created process is the child.3 · Processes
parityThe XOR of the data; it is used to rebuild a lost block when a disk fails.11 · Input/Output
partitionA part of a disk that can hold a separate file system, swap space, or encrypted container; its list is kept in a table at the start of the disk.10 · File Systems
path name (absolute / relative)A name that points to a file starting from the root or from the working directory.10 · File Systems
permission bits (rwx)The read, write, and execute rights for the owner, the group, and others.10 · File Systems
Peterson's algorithmA solution that provides mutual exclusion for two processes using only reads and writes.6 · Synchronization
pipeA one-way byte stream buffered in the kernel that connects two processes.3 · Processes
pipeline (CPU)A technique that overlaps the stages of instructions so that one instruction finishes every cycle.11 · Input/Output
pipeline (shell)A chain of commands in which the output of one is connected to the input of the next.15 · Linux
plaintext / ciphertextIn encryption, the readable message (P) and its form transformed with a key (C).13 · Security
policy / mechanismThe mechanism decides how something is done; the policy decides what will be done.1 · Introduction
pollingThe CPU repeatedly reading a device's status register until it is ready.11 · Input/Output
port-mapped I/OAn arrangement in which device registers live in an address space separate from memory (I/O ports) and are accessed with special IN/OUT instructions.11 · Input/Output
position-independent code (PIC)Code that uses no absolute addresses, jumps relative to the PC, and reaches global data through the GOT; shared libraries are compiled this way.8 · Memory Management
preemptable resourceA resource that can be taken back from its owner without harm (for example CPU or memory).7 · Deadlocks
preemptive / nonpreemptive schedulingA running process can be taken off the CPU by force (preemptive) or runs until it gives it up itself (nonpreemptive).5 · CPU Scheduling
prepagingBringing in pages expected to be needed in advance, in a single bulk read, without waiting for faults.9 · Virtual Memory
primitiveA basic operation that the operating system provides and on which other operations are built.14 · Operating-System Design
principle of least privilegeGiving each component only the minimum rights it needs for its job.13 · Security
priority ceilingA solution to priority inversion: the task that takes a lock is immediately raised to the priority of the highest-priority task that may use that lock.6 · Synchronization
priority inheritanceThe lock-holding process temporarily taking on the priority of the waiting process.6 · Synchronization
priority inversionA high-priority process waiting for a lock held by a low-priority process.6 · Synchronization
priority schedulingAn algorithm that runs the ready process with the highest priority.5 · CPU Scheduling
privilege escalationAn ordinary user or process gaining administrator rights by exploiting a flaw.13 · Security
processA program in execution; it has its own address space and resources.3 · Processes
process control block (PCB)The record the kernel keeps about a process's state, registers, and resources.3 · Processes
process stateThe process's position in its life cycle: new, ready, running, waiting, terminated.3 · Processes
processor affinityThe tendency to keep a process on the same processor so that its cache stays warm.5 · CPU Scheduling
producer–consumer problemThe problem of coordinating a producer and a consumer that share a bounded buffer.6 · Synchronization
program counter (PC)The register that holds the address of the next instruction.1 · Introduction
program status word (PSW)The register that holds the condition bits, the processor mode (kernel or user), and whether interrupts are enabled.1 · Introduction
programmed I/OI/O in which the CPU itself transfers data to the device byte by byte.11 · Input/Output
progressA condition for critical-section solutions: if the region is free, only the processes that want to enter decide who enters, and the decision cannot be postponed indefinitely.6 · Synchronization
protection domainThe set of (object, right) pairs that a process can access.13 · Security
public key infrastructureThe whole of authorities and rules that issue, distribute, and revoke certificates.13 · Security
public-key cryptographyA method in which data encrypted with the public key can be decrypted only by the private key.13 · Security
publish-subscribeA communication model in which a sender publishes a message to a topic and those subscribed to the topic receive it.12 · Multiprocessor Systems
push / pull migrationLoad balancing on multiprocessors: in push migration work is pushed away from an overloaded core, in pull migration an idle core pulls work from a loaded one.5 · CPU Scheduling
quotaA limit on the number of blocks and files each user may use.10 · File Systems
race conditionA faulty situation in which the result depends on the timing of accesses to shared data.6 · Synchronization
ransomwareMalicious software that encrypts data and demands a ransom.13 · Security
rate-monotonic scheduling (RM)A real-time algorithm that gives the task with the shorter period a higher fixed priority.5 · CPU Scheduling
RAIDArrangements that combine several disks for performance and reliability.11 · Input/Output
readers–writers problemAn access problem that allows many readers together but a writer alone.6 · Synchronization
ready queueThe queue of ready processes waiting for the CPU.3 · Processes
real-time operating system (RTOS)An operating system that guarantees a result is produced within a given time.1 · Introduction
reentrancyThe ability of code to be called again while it is itself executing.14 · Operating-System Design
reentrant / thread-safeCode that can be executed safely by several calls or threads at the same time.4 · Threads
reference bit / dirty bitBits that show that a page has been accessed (R) and that it has been modified (M).9 · Virtual Memory
reference monitorThe component that checks every access request and allows or denies it according to the rules.13 · Security
reference stringThe sequence of page accesses used to compare algorithms.9 · Virtual Memory
registerA very fast, small storage unit inside the processor.1 · Introduction
regressionA previously working feature breaking after a new change.14 · Operating-System Design
relocationShifting addresses so that a program can be loaded at a different place in memory.8 · Memory Management
relocation registerA register whose value is added to the logical address to give the physical address; it is the same as Tanenbaum's base register.8 · Memory Management
remote direct memory access (RDMA)Network access in which the NIC writes directly into a process's memory on another machine without involving the kernel.12 · Multiprocessor Systems
remote procedure call (RPC)Calling a procedure on another machine as if it were a local call.12 · Multiprocessor Systems
resource allocation graphA directed graph that shows requests and allocations with process and resource nodes.7 · Deadlocks
response timeThe time from a request until the first response (the first run) begins.5 · CPU Scheduling
return-oriented programming (ROP)An attack technique that builds attack code by arranging on the stack the addresses of small code fragments (gadgets) ending in ret within the program and its libraries.13 · Security
round robin (RR)A preemptive algorithm that runs the ready processes in turn, one time slice each.5 · CPU Scheduling
runqueueIn Linux, a ready-process queue assigned separately to each processor core; cores do not wait for one another when choosing.3 · Processes
safe / unsafe stateThe situation in which an order exists in which all processes can finish, or does not exist.7 · Deadlocks
saltA random value added to a password before it is hashed.13 · Security
sandboxRunning a program in an isolated environment with limited rights.13 · Security
SCAN (elevator algorithm)An algorithm in which the head moves to the end of the disk in one direction serving requests on the way, and reverses direction on reaching the end.11 · Input/Output
scatter-gatherIn DMA, giving the device a list of (address, length) pairs; the device writes to or reads from noncontiguous pages in one operation.11 · Input/Output
schedulerThe kernel component that makes the scheduling decision.5 · CPU Scheduling
second chanceA FIFO variant that gives a page whose reference bit is 1 one more chance.9 · Virtual Memory
secure bootVerifying the signature of each piece of software in the boot chain before it is loaded.13 · Security
seek time / rotational latencyThe time for the arm to move to the track and the time for the sector to come under the head.11 · Input/Output
segmentationDividing the address space into variable-size logical segments such as code, data, and stack.8 · Memory Management
semaphoreA synchronization object with an integer counter, used with down/up (P/V) operations.6 · Synchronization
sequential consistency (SC)The property that the memory operations of all threads can be arranged in a single common order that preserves each thread's program order.6 · Synchronization
shadow memoryA separate memory region that records whether each byte of memory is accessible; KASAN checks it.14 · Operating-System Design
shadow page tableThe hypervisor's table for each guest process that maps guest virtual addresses directly to host physical addresses.12 · Multiprocessor Systems
shared libraryA library loaded into memory once and used by many processes (.so, .dll).8 · Memory Management
shared memoryA common memory region mapped into the address spaces of several processes.3 · Processes
shellThe command interpreter through which a user interacts with the operating system by typing commands.1 · Introduction
shortest job first (SJF)An algorithm that chooses the process whose next CPU burst is shortest.5 · CPU Scheduling
shortest remaining time first (SRTF)The preemptive form of SJF.5 · CPU Scheduling
shortest seek time first (SSTF)A disk arm scheduling algorithm that at each step chooses the pending request nearest to the head.11 · Input/Output
side channelLeaking secret information through an indirect path such as timing, power, or cache behavior.13 · Security
signalAn asynchronous software notification that tells a process about an event (SIGKILL, SIGINT).15 · Linux
simultaneous multithreading (SMT)A core executing two hardware threads at the same time.12 · Multiprocessor Systems
slab allocatorAn allocator that provides pre-prepared caches for frequently used kernel objects.9 · Virtual Memory
snooping (cache coherence)A coherence method in which each cache watches writes on the shared bus and updates or invalidates its own copy.12 · Multiprocessor Systems
socketA communication endpoint between two ends, over the network or locally.3 · Processes
solid-state drive (SSD)A storage device based on NAND flash with no moving parts.11 · Input/Output
space sharingScheduling in which related threads are placed on separate processors at the same time.12 · Multiprocessor Systems
space–time trade-offGaining time by spending memory, or the reverse.14 · Operating-System Design
speedupThe ratio of the old running time to the new (parallel) running time.4 · Threads
spinlockA lock that waits in a loop until the lock is released; for short critical sections.6 · Synchronization
spoolingQueuing jobs for a slow device on disk and sending them in order (for example, printing).1 · Introduction
spurious wakeupA thread waiting on a condition variable waking up without any signal; for this reason the condition is checked with a while loop.6 · Synchronization
stable storageA storage arrangement that guarantees a write either completes correctly or leaves the old data in place.11 · Input/Output
stack canaryA random value placed before the return address; if it has changed, an overflow is detected and the program is stopped.13 · Security
stack pointer (SP)The register that points to the top of the stack holding local variables and return addresses in function calls.1 · Introduction
starvationA process constantly losing out to others and never making progress.5 · CPU Scheduling
striping / mirroringIn RAID, striping spreads consecutive blocks across different disks to gain parallelism; mirroring keeps a copy of each block on another disk.11 · Input/Output
stubTemporary code that stands in for a component not yet written and imitates only its interface.14 · Operating-System Design
superblockThe block that holds a file system's basic information such as its size and number of blocks.10 · File Systems
swappingMoving a process or pages between memory and disk.8 · Memory Management
symmetric multiprocessor (SMP)A model in which a single copy of the OS runs on all processors with equal rights.12 · Multiprocessor Systems
synchronizationRegulating the access of concurrent processes to shared data.6 · Synchronization
synchronous / asynchronous communicationCommunication in which the sender continues after waiting for the reply or without waiting for it.14 · Operating-System Design
system callThe interface a program uses to request a service from the kernel.2 · Operating-System Structures
test and set lock (TSL)An indivisible instruction that reads a memory word, puts its old value in a register, and writes 1 to the word; on a multiprocessor it locks the bus.12 · Multiprocessor Systems
thrashingThe system spending most of its time moving pages.9 · Virtual Memory
threadAn independent flow of execution within a process; it has its own PC, registers, and stack.4 · Threads
thread control block (TCB)A structure that holds a thread's identity, state, saved PC and registers, stack pointer, and priority.4 · Threads
thread group ID (TGID)In Linux, the identifier shared by all threads of a process; it is the PID that users see.15 · Linux
thread poolThreads created in advance that take tasks from a queue.4 · Threads
thread-local storage (TLS)Variables of which each thread keeps its own copy.4 · Threads
threatA possible event or attacker that could violate one of a system's security goals.13 · Security
throughputThe number of processes completed per unit of time.5 · CPU Scheduling
ticket lockA fair spinlock that gives waiters ticket numbers and hands out the lock in that order.12 · Multiprocessor Systems
time of check to time of use (TOCTOU)A race-condition vulnerability in which an attacker can change a resource between the moment it is checked and the moment it is used.13 · Security
time sharingSharing the CPU among users in short slices to provide interactive use.12 · Multiprocessor Systems
time slice (quantum)The longest CPU time a process may use before being preempted.5 · CPU Scheduling
timerA hardware counter that generates an interrupt after a set time; it returns the CPU to the OS.2 · Operating-System Structures
TLB reachThe amount of memory the TLB covers: number of entries × page size.8 · Memory Management
TLB shootdownClearing stale entries from the other cores' TLBs when a page mapping changes.9 · Virtual Memory
top half / bottom halfSplitting interrupt handling in two: the main handler kept short (top half) and the deferred work that runs with interrupts enabled (bottom half).11 · Input/Output
trade-offGiving up one property to improve another.5 · CPU Scheduling
translation lookaside buffer (TLB)A small, fast cache that holds recently used page-to-frame mappings.8 · Memory Management
trapThe program entering the kernel by its own request (a system call) or by an error; a software interrupt.2 · Operating-System Structures
Trojan horseSoftware that the user installs willingly, which looks useful but secretly does harmful work.13 · Security
trusted computing baseAll the hardware and software responsible for enforcing the security rules and which must be trusted to work correctly.13 · Security
Trusted Platform Module (TPM)A small security chip built into the motherboard or processor that contains platform configuration registers (PCRs).13 · Security
tuple spaceA shared associative memory in which processes drop tuples and retrieve them by matching (Linda).12 · Multiprocessor Systems
turnaround timeThe time from a process's arrival to its completion.5 · CPU Scheduling
two-phase locking (2PL)A protocol in which all locks are first acquired and then released; once a lock has been released, no new one is acquired.7 · Deadlocks
UMA (uniform memory access)A multiprocessor arrangement in which every processor reaches every memory address in the same time.12 · Multiprocessor Systems
UMA / NUMAAn architecture in which memory access time is the same for all processors, or varies with proximity.12 · Multiprocessor Systems
unikernelA structure in which the application and the kernel functions it needs are compiled into a single address space as a single image.14 · Operating-System Design
use-after-freeA vulnerability that arises when a program keeps accessing a block it has freed through an old pointer.13 · Security
user modeThe mode in which privileged instructions are forbidden and applications run.1 · Introduction
user-level / kernel-level threadThreads managed by a library or by the kernel, respectively.4 · Threads
valid–invalid bitA bit that shows whether a page is in the address space and in memory.8 · Memory Management
virtual addressThe address a process sees, which the MMU translates into a physical address.9 · Virtual Memory
virtual deadlineIn EEVDF, the deadline, computed from the request size, used to choose among the eligible tasks.15 · Linux
virtual file system (VFS)A kernel layer that unifies different file systems behind a common interface.10 · File Systems
virtual machine (VM)A machine created by software that behaves like a real computer.2 · Operating-System Structures
virtual memoryA technique that gives processes a contiguous address space larger than physical memory.9 · Virtual Memory
virtual memory area (VMA)In Linux, a contiguous region of a process's address space that shares the same permissions and backing.15 · Linux
virtual runtimeIn CFS and EEVDF, the accumulated CPU time of a task scaled by its priority.15 · Linux
virtualizationPresenting a single physical resource as several virtual resources.1 · Introduction
vulnerabilityA design or implementation flaw that an attack can exploit.13 · Security
wait queueA queue that holds the processes waiting for a particular event (such as I/O completing or a child terminating).3 · Processes
wait-for graphA resource allocation graph with the resource nodes removed; a cycle means deadlock.7 · Deadlocks
waiting timeThe total time a process spends in the ready queue.5 · CPU Scheduling
wear levelingExtending lifetime by spreading writes evenly among flash blocks.11 · Input/Output
work stealingAn idle thread taking tasks from another thread's queue.4 · Threads
working setThe set of pages a process has used in its last Δ accesses.9 · Virtual Memory
wormA program that copies itself from machine to machine, independent of the user, by exploiting an unpatched service on the network.13 · Security
write-invalidate / write-updateCache coherence policies: before a write the other copies are invalidated, or the new value is sent to all copies.12 · Multiprocessor Systems
write-through / write-backWrite-through sends every change to disk immediately; write-back accumulates dirty blocks in memory and writes them later.10 · File Systems
zero trustAn approach that does not trust even the inside of the firewall; requests from inside the network also go through authentication and authorization checks.13 · Security
zero-fill-on-demandServing the first access to BSS and new heap pages with a zeroed frame; zeroing is required for security.9 · Virtual Memory
zombie processA process that has finished but whose exit status has not been collected by its parent.3 · Processes
I/O schedulerThe kernel layer that orders and merges block requests (mq-deadline, bfq).11 · Input/Output

Course page: Operating Systems · © Sercan Külcü. All rights reserved.