~/talk

Introduction to Memory Management in Linux

links:none on file
slides:none on file

Covers how the MMU and TLB translate virtual addresses to physical frames, how page tables and struct mm/vm_area_struct track mappings, and why user space uses kernel logical vs vmalloc vs user virtual ranges with a 3 GB/1 GB split on 32‑bit. Explains lazy allocation (malloc/mmap defers physical PFN allocation until page fault), swap I/O to disk on a per‑page basis, and APIs like kmalloc, vmalloc, mmap, mlock and mallopt. Notes page size ≈4 KB and tiny TLBs (sometimes ~16 entries) impact performance.

AI-written summary · about

  1. 0:00Intro
  2. 0:58About the original author Alan O
  3. 1:55Single Address Space
  4. 3:43Limitations
  5. 4:32What is Virtual Memory
  6. 6:59Virtual Memory Details
  7. 8:17Memory Management Unit
  8. 9:52Translation Lookaside Buffer
  9. 12:36Kemel Virtual Memory
  10. 23:35User Virtual Addresses
  11. 26:16The MMU
  12. 29:31Basic TLB Mappings
  13. 34:09Lazy Allocation
  14. 37:18Page Tables
  15. 46:35High-Level Implementation
  16. 47:59Summary
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.