Virtual Memory
QuoteI wanted to have virtual memory, at least as it’s coupled with file systems.
by Ken Thompson
9.1 - 9.10 visit book
9.11 - 9.20 visit here
test
code directory: ./code
test way:
- assert means assert function from
<assert.h>
- output means to watch code output to judge if it works right
solution | code file | test way |
---|---|---|
9.11 | —— | —— |
9.12 | —— | —— |
9.13 | —— | —— |
9.14 | 9.14.c | assert |
9.15 | —— | —— |
9.16 | —— | —— |
9.17 | vm/(mm.9.17, 9.17.c) | assert |
9.18 | vm/(mm.9.18, 9.18.c) | assert |
9.19 | —— | —— |
9.20 | malloc/* | measure performance with std malloc |
当前内容版权归 DreamAndDead 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 DreamAndDead .