Use runtime options instead of conditional compilation for MLFQS,
[pintos-anon] / TODO
diff --git a/TODO b/TODO
index ac46639a58fe89733ad6889dfd728a1a262e80e8..151b6763f94f7a470b35b5442ecfbb6cdc0c2ca2 100644 (file)
--- a/TODO
+++ b/TODO
@@ -7,13 +7,10 @@
   - Need an mmap example program as a replacement for the crappy mmap FAQ
     question.
 
   - Need an mmap example program as a replacement for the crappy mmap FAQ
     question.
 
-* Make it clear that the students own their code, because there was some
-  confusion on that point.
+  - How about `diff' and `cmp' programs?
 
 * Threads:
 
 
 * Threads:
 
-  - join-invalid doesn't compile if tid_t is not scalar type.
-
   - mlfqs tests suck.  They aren't even correct, e.g. the amarv
     submission from win0405 is graded incorrectly.
 
   - mlfqs tests suck.  They aren't even correct, e.g. the amarv
     submission from win0405 is graded incorrectly.
 
     project 3 and in real OSes.  Also revise the grading criteria to
     match.
 
     project 3 and in real OSes.  Also revise the grading criteria to
     match.
 
-  - Move `join' implementation here, from `threads' project, to help
-    normalize the project difficulties.
-
-  - The semantics of the join system call should change so that it
-    only returns the exit code once.
-
   - Mark read-only pages as actually read-only in the page table.  Or,
     since this was consistently rated as the easiest project by the
     students, require them to do it.
   - Mark read-only pages as actually read-only in the page table.  Or,
     since this was consistently rated as the easiest project by the
     students, require them to do it.
 
     Alternatively, shrink the inode size.
 
 
     Alternatively, shrink the inode size.
 
-  - Add mkdir and ls example user programs.
-
   - Add option to disable buffer cache.
 
   - Add option to disable buffer cache.
 
-  - Get rid of "dump" commands--they're not really useful.
-
   - Sample solution.
 
   - Sample solution.
 
+  - Need a better way to measure performance improvement of buffer
+    cache.  Some students reported that their system was slower with
+    cache--likely, Bochs doesn't simulate a disk with a realistic
+    speed.
+
+  - Clarify effect of remove(cwd).
+
 * Documentation:
 
   - Finish writing tour.
 * Documentation:
 
   - Finish writing tour.
 
     . Other good ideas.
 
 
     . Other good ideas.
 
+    . opendir/readdir/closedir
+
+    . everything needed for getcwd()
+
   - Add src/testcases/vm, src/testcases/filesys and make it clear to use
     them?
 
   - Add src/testcases/vm, src/testcases/filesys and make it clear to use
     them?
 
     too long (especially when SHOW_PROGRESS is turned on) and doesn't
     show significant improvement.
 
     too long (especially when SHOW_PROGRESS is turned on) and doesn't
     show significant improvement.
 
+* Code:
+
+  - Make threads test use a program and arguments like the other
+    projects.
+
+  - Revise command-line arguments for sensibility instead of for
+    Nachos compatibility.
+
+  - Get rid of all compile-time flags, e.g. MLFQS should be a runtime
+    command-line option.
+
+  - Need an optimization barrier and an explanation of it in the
+    documentation.
+
+  - Need to check the wait system call more thoroughly.