Subscribe
Sign in
Home
Podcast
CPython Internals
AI
Computer Architecture
Linux Internals
x86-assembly
Contact Me
Archive
About
os
Latest
Top
Discussions
Demand Paging in Action: mmap, Page Faults, and RSS
Learn how to inspect a process’s virtual memory, use mmap to allocate pages, and observe page faults and physical memory allocation as they happen
Aug 29
•
Abhinav Upadhyay
1
1
37:38
Demand Paging: What Happens When Linux Handles a Page Fault
Understand what happens when you allocate memory versus when you actually access it, what a VMA is, and how the Linux kernel uses VMAs to handle page…
Aug 23
•
Abhinav Upadhyay
8
43:52
How Big Is a Physical Address?
A short aside from the virtual memory series on physical address size, why it differs from virtual address size, and why different CPUs expose different…
Jun 22
•
Abhinav Upadhyay
5
10:29
What Does a Page Table Entry Actually Store?
Learn about the page-level metadata that is stored in the page table and how is that used by the hardware during memory access
Jun 21
•
Abhinav Upadhyay
3
28:30
Page Tables from First Principles
Constructing page tables from first principle as a way to store virtual-to-physical address mappings
Jun 16
•
Abhinav Upadhyay
13
1
49:43
Understanding a Process’s Address Space Layout
In this video, we look at how a process’s virtual address space is laid out: code, data, heap, stack, shared libraries, mmap regions, and more.
Jun 6
•
Abhinav Upadhyay
12
22:12
How Large Is the Virtual Address Space?
How large is a process’s virtual address space, why is it split between user space and the kernel, and what are canonical virtual addresses?
May 31
•
Abhinav Upadhyay
14
1
25:15
Why do we need virtual memory?
Understanding virtual memory from first principles
May 24
•
Abhinav Upadhyay
17
1
17:34
Virtual Memory From First Principles
A practical guide to page faults, page tables, TLBs, NUMA topology, Linux internals, and performance in data-intensive systems.
May 10
•
Abhinav Upadhyay
281
1
55
What Makes System Calls Expensive
A look at how Linux handles system calls on x86-64, why crossing into the kernel has a cost, and why that cost shows up in performance profiles.
Sep 16, 2025
•
Abhinav Upadhyay
79
4
9
My Top 15 OS Books: From Theory and Implementation to Systems Programming
A personal guide to the most useful books for understanding operating systems
Feb 18, 2025
•
Abhinav Upadhyay
50
6
5
Linux Context Switches: The Truth About TLB Flushes
Is the TLB really flushed during context switches?
Jan 17, 2025
•
Abhinav Upadhyay
13
3
21:34
This site requires JavaScript to run correctly. Please
turn on JavaScript
or unblock scripts