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