Operating Systems and Storage
-
Privilege Modes and System Call Boundaries
Follow a controlled transition from application code into a kernel service and account for validation before returning to user mode.
-
Process Creation and Copy-on-Write
Share parent and child pages while their contents agree and make a private copy when a writer needs isolation.
-
Threads, Processes, and Shared Address Spaces
Identify which execution state belongs to a thread and which resources are normally shared within its process.
-
Context Switching and Indirect Scheduling Costs
Distinguish saved architectural state from the cache and translation effects that can persist after a scheduler dispatch.
-
Virtual Address Translation and Page Permissions
Split a virtual address into page number and offset, then use a mapping to recover a physical address subject to access permissions.
-
Multilevel Page Tables for Sparse Address Spaces
Turn a large page table into a tree of allocated subranges and calculate what an absent internal entry represents.
-
Translation Lookaside Buffers and Page Reach
Estimate the address range covered by cached translations and see how a sparse stride can consume one entry per access.
-
Demand Paging and Recoverable Page Faults
Follow a fault that brings a valid page into memory and distinguish backing-store work from a simple protection decision.
-
Page Replacement and the Clock Algorithm
Approximate recency using a reference bit and work through the search for a reclaimable frame.
-
Working Sets and Thrashing
Measure distinct active pages over a window and explain why adding runnable work can reduce total useful progress.
-
Scheduling Queues, Response Time, and Fairness
Compute response and turnaround for a small ready queue and see how time-slice size changes what users experience.
-
Priority Inversion and Priority Inheritance
Trace a three-task lock dependency and explain how inherited priority can reduce delay experienced by a blocked high-priority task.
-
Rate-Monotonic Scheduling and Utilization Bounds
Calculate periodic CPU utilization and validate deadline claims under the assumptions of a fixed-priority theorem.
-
Virtual Machines and Privileged Operation Traps
Explain how a hypervisor manages guest state and separate guest address translation from host protection.
-
Memory-Mapped Files and Shared Changes
Connect file offsets to virtual pages and distinguish a private view, shared visibility, and durable storage.
-
The Page Cache and Dirty Writeback
Follow a buffered write from cached state to storage and see why delayed writeback helps throughput while changing failure semantics.
-
Inodes, Directory Entries, and File Identity
Separate a file’s metadata object from its pathnames and follow the lifetime of an unlinked but still-open file.
-
Filesystem Journals and Recovery Boundaries
Group related metadata changes into an ordered journal transaction and reason about which transactions recovery should replay.
-
Crash Consistency and Durable Ordering
Plan persistent operations so recovery can interpret every allowed stopping point in a replacement workflow.
-
Asynchronous I/O and Completion Ownership
Separate submitting an operation from consuming its result and keep resources alive until the specified completion point.