Operating systems
0 of 16 steps read
Evolution
Computer basics
How C becomes machine code, and what memory, linking, processes and I/O look like to a program. In English.
CMU· 2015OS concepts
Page tables, system calls, page faults, locking, thread switching and file systems, each built into the xv6 kernel in labs. In English.
MIT· 20252020 videosProcesses and threads
From LinuxThreads to NPTL, then task_struct, the process lifecycle, fork and context switches. In Mandarin.
2026CPU scheduling
CFS load balancing across scheduling domains had bugs that left cores idle while threads waited, which the authors exposed with an online invariant checker.
2016Synchronization
Linux ticket spinlocks collapse under contention because each unlock invalidates every waiter's cached copy; a Markov model explains the collapse, and MCS locks avoid it.
MIT· 2012Memory
The active and inactive page lists often evicted the wrong pages, so MGLRU sorts pages into generations and reclaims from the oldest.
2021Much of datacenter memory sits cold, so TMO offloads it to compressed RAM or SSD and uses PSI to stop before applications slow down.
Meta· 2022I/O models
select() costs grow with every file descriptor a server watches, so this mechanism lets applications register interest once and dequeue only new events.
1999Linux AIO worked well only for direct I/O and could still block, so io_uring passes requests and completions through rings shared with the kernel.
2019File systems and storage
PostgreSQL trusted fsync to report failed writes, but after a writeback error the kernel can drop the dirty pages and never report it.
2018Building on local file systems cost Ceph in transactions and metadata, so BlueStore writes to raw devices.
CMU· 2019Virtualization
x86 virtualization extensions made simple hypervisors possible, so kvm adds a guest mode to Linux and runs each virtual machine as an ordinary process.
2007Serverless needs isolation stronger than containers without the weight of full VMs, so Firecracker is a minimal virtual machine monitor on KVM.
Amazon· 2020Networking
Link speeds have outgrown what one core can process, and this study finds that copying data to the application now dominates the Linux stack's cost.
Cornell· 2021Kernel bypass is fast but gives up the kernel's safety and tools, so XDP runs verified BPF programs in the network driver before the stack.
Karlstad University· 2018Observability
eBPF extends the kernel without modules, and this survey covers how programs are verified, compiled and attached to kernel hooks.
Karlstad University· 2024