JOS 10週目

社会にでるまでに一通り終わらなかった。あとは Lab 6 を残すだけ…

3/28

  • Lab 4 Part C
    • exercise 12,13,14
      • CPUS=2 にすると bad environment で sys_page_map が死ぬ…

3/29

  • Lab 4
    • exercise 14
      • kern/sched.c: uncomment after exercise 13 !!!!
    • exercise 15
      • やるだけ
  • xv6 book chapter 6 File System 読む
    • ファイルシステムはデータの共有、永続化のためのもの
    • must support crash recovery
    • must maintain invariants and an in-memory cache

3/30

  • Lab 5
    • JOS について読む
      • metadata を store する super block が 1つ
      • file struct は direct blocks と indirect blocks (ポインタのポインタ)
      • real file system は double-, triple-indirect blocks をサポートする
      • File System も environment (process) として動いていて RPC でアクセスする
    • exercise 5
      • fs.img をぶっ壊したが make clean を忘れて通らずにハマる
    • exercise 6, 7, 8
    • exercise 8
      • パッとよんで PTE_SHARE がわからん

3/31

  • Lab 5
    • exercise 9
      • pgdir_walk の perm をバグらせていたっぽい…
    • exercise 10
      • やるだけ