Contemporary issues in operating systems
Contemporary issues in operating systems
Recorded by Dr. Krithika L.B. Slot m6-contemporary
Where operating systems are heading — memory-safe kernels, eBPF, hardware side channels, heterogeneous scheduling, serverless and micro-VMs, AI workloads, real-time Linux and new memory — each traced back to the fundamentals of this course.
By the end of this session you should be able to:
This session connects the syllabus to what is happening in operating systems now. Each topic below is linked to the module where its foundations were laid, so you can see that today's headlines are built from the same ideas you have studied. The topics are also suitable for the Digital Assignment (see the end of this page).
Roughly two-thirds of serious security bugs in large C/C++ code bases are memory-safety errors — buffer overflows, use-after-free, data races (Sessions 3.2 and 5.3). Since version 6.1 (2022), the Linux kernel accepts drivers written in Rust, a language whose compiler rejects these bugs at compile time. Android and Windows are also adopting Rust for new low-level components.
Roots: race conditions (3.2), buffer overflow (5.3), OS implementation language (1.4).
eBPF lets small, verified programs run inside the Linux kernel, attached to events such as system calls, network packets or
scheduler decisions — used for observability, networking and security. Unlike a loadable module (1.2), a verifier proves
the program terminates and cannot crash the kernel. Since Linux 6.12, sched_ext even allows CPU schedulers to be written in eBPF.
Roots: modular kernels (1.2), system calls (1.3), CPU scheduling (2.4–2.5).
In 2018 researchers showed that CPUs' speculative execution could leak kernel memory to user programs through cache timing — breaking the user/kernel separation of Session 1.3 without any software bug. Operating systems responded with kernel page-table isolation (KPTI): the kernel's pages are unmapped while user code runs, at the cost of extra TLB flushes (4.3) on every system call.
Roots: dual-mode operation (1.3), page tables and the TLB (4.3), protection (5.4).
Modern phones and laptops (ARM big.LITTLE, Intel P-cores and E-cores) mix fast, power-hungry cores with slow, efficient ones. The scheduler must decide not only when but where a thread runs, balancing performance against energy. Linux's EEVDF scheduler (6.6, 2023) replaced CFS to give better latency guarantees.
Roots: multicore and threads (2.3), scheduling criteria and algorithms (2.4–2.5).
Cloud platforms run code as short-lived functions (AWS Lambda, Azure Functions) started on demand. To make them both fast and isolated, providers use micro-VMs such as Firecracker (a minimal KVM hypervisor that boots a guest in about 125 ms) and research unikernels that compile an application and just the OS parts it needs into a single image.
Roots: hypervisors (5.5), containers (5.6), booting (1.4).
Training and serving large AI models stresses OSes in new ways: GPU memory is managed with paging-like schemes (e.g. “paged attention” in LLM serving borrows directly from virtual memory), GPU sharing between containers needs new scheduling and isolation, and data pipelines need high-throughput storage (RAID, NVMe, distributed file systems).
Roots: paging and virtual memory (4.3–4.6), scheduling (2.4), storage (5.1).
Billions of devices run small OSes such as FreeRTOS, Zephyr and RIOT. In 2024 the PREEMPT_RT patches were finally merged into mainline Linux, making it a real-time OS option for robots, cars and industrial control. Concerns: deadlines, priority inversion (3.4), tiny memory, and over-the-air security updates.
Roots: types of OS (1.1), priority scheduling (2.4), semaphores and priority inversion (3.4).
New memory technologies blur the line between RAM and storage: byte-addressable persistent memory and CXL-attached memory pools shared between servers. File systems and memory managers must handle memory that survives power loss, and tiers with very different speeds — the memory hierarchy of Session 1.1, redrawn.
Roots: storage hierarchy (1.1), memory management (4.1–4.6), file systems (4.7–4.8).
The problems are old — share the CPU fairly, keep processes apart, use memory and disks efficiently, stop attackers. The hardware and workloads change, so the policies and mechanisms keep being reinvented. That is why the fundamentals in Modules 1–5 stay relevant.
Choose one topic, explain the problem, the OS concepts from this course it builds on, how a real system (Linux, Windows, Android, a hypervisor, an RTOS) addresses it, and its limitations. Suggested topics:
This page lists developments up to 2025. Your faculty will add current topics and guest lectures here each semester.
Contemporary issues in operating systems
Recorded by Dr. Krithika L.B. Slot m6-contemporary
Work through these in order after the lecture — each one expands a part of the notes with diagrams, hover notes and a quick check.
Answer each question in your own words first, then reveal the model answer.
Revealed 0Page tables and the TLB (4.3) and dual-mode separation of user and kernel (1.3): kernel pages are unmapped while user code runs.
eBPF programs are checked by a verifier that guarantees they terminate and cannot corrupt kernel memory; modules run with full, unchecked kernel privilege.
Micro-VMs give VM-level isolation between customers while starting almost as fast as containers.
Priority inversion (3.4).
You have completed the BACSE106 syllabus. Revise with the Check-your-understanding sections of every session, and complete the lab manual.
Back to the course home page →