$ cd ~ # Chaitanya Rahalkar
  • Home
  • About
  • Blog
  • Publications
  • Talks
  • Resume↗
  • Home
  • About
  • Blog
  • Publications
  • Talks
  • Resume↗

$ cd ~/tags/systems-programming

systems-programming

2025-10-25

Writing a Memory Allocator from Scratch: glibc Heap Internals and Security Hardening

Every call to malloc hides a small miracle of systems engineering. In the time it takes your program to allocate 16 bytes, glibc’s heap allocator has consulted a multi-tiered bin system, potentially…

15 min read
linux security Systems Programming C Memory Management Low-Level
2025-03-16

How mmap Really Works: Page Tables, Page Faults, and the Virtual Memory Machinery

A deep dive into how Linux virtual memory actually works — from multi-level page tables and TLB mechanics to demand paging, copy-on-write, and the mmap implementation path through the kernel, with…

18 min read
linux kernel Virtual Memory mmap Page Tables Operating Systems Systems Programming Performance
GitHub Twitter Email RSS

$ echo "© 2026 Chaitanya Rahalkar"

Powered by Astro & MultiTerm