Lazy ELF Loading in xv6: Demand Paging for Executables
The full xv6 implementation, benchmarks, and test programs are available here on GitHub.
The Problem
When exec() loads a binary in xv6, it eagerly allocates pages and reads every ELF segment from dis
amoghpn.hashnode.dev10 min read