Demo: Reserving Costs Nothing¶
Three mmap() calls of 4 MB, three munmap()s, ps at every step.
Run¶
Two terminals. First:
Second, at every prompt:
Ask¶
VSZmoves by 4,096 KB a step. What doesRSSdo, seven times in a row?- The three zones have different permissions. Why are they three lines rather than one?
- What did the kernel write down for each
mmap(), and what did it not do?