Move problem 1-2 (join) into project 2 as the "wait" system call.
[pintos-anon] / TODO
1 -*- text -*-
2
3 * The tests in tests/ don't apply the grading patches.
4
5 * We need better and more example programs.
6
7   - Need an mmap example program as a replacement for the crappy mmap FAQ
8     question.
9
10   - How about `diff' and `cmp' programs?
11
12 * Threads:
13
14   - mlfqs tests suck.  They aren't even correct, e.g. the amarv
15     submission from win0405 is graded incorrectly.
16
17 * Userprog project:
18
19   - Don't emphasize that stuff needs to be copied from user space to
20     kernel space.  Instead, emphasize validation and suggest that
21     copying is a common solution and that it will be necessary in
22     project 3 and in real OSes.  Also revise the grading criteria to
23     match.
24
25   - Mark read-only pages as actually read-only in the page table.  Or,
26     since this was consistently rated as the easiest project by the
27     students, require them to do it.
28
29   - Don't provide per-process pagedir implementation but only
30     single-process implementation and require students to implement
31     the separation?  This project was rated as the easiest after all.
32     Alternately we could just remove the synchronization on pid
33     selection and check that students fix it.
34
35 * VM project:
36
37   - Discuss the perils of mixing dirty bits between kernel and user virtual
38     memory.
39
40   - Sample solution.
41
42   - Update grading/vm to reflect new mmap, munmap forms.
43
44 * Filesys project:
45
46   - Increase maximum disk size from 8 MB to something that actually
47     requires doubly indirect nodes.  There is a negative pressure here
48     from the bitmap object--perhaps we need a specialized bitmap that
49     doesn't have to be all in-memory at once.
50
51     Alternatively, shrink the inode size.
52
53   - Add mkdir and ls example user programs.
54
55   - Add option to disable buffer cache.
56
57   - Get rid of "dump" commands--they're not really useful.
58
59   - Sample solution.
60
61   - Need a better way to measure performance improvement of buffer
62     cache.  Some students reported that their system was slower with
63     cache--likely, Bochs doesn't simulate a disk with a realistic
64     speed.
65
66   - Clarify effect of remove(cwd).
67
68 * Documentation:
69
70   - Finish writing tour.
71
72   - Add "Digging Deeper" sections that describe the nitty-gritty x86
73     details for the benefit of those interested.
74
75   - Add explanations of what "real" OSes do to give students some
76     perspective.
77
78 * Assignments:
79
80   - Add extra credit:
81
82     . Low-level x86 stuff, like paged page tables.
83
84     . Specifics on how to implement sbrk, malloc.
85
86     . Other good ideas.
87
88     . opendir/readdir/closedir
89
90     . everything needed for getcwd()
91
92   - Add src/testcases/vm, src/testcases/filesys and make it clear to use
93     them?
94
95 * Tests:
96
97   - Release some of them.
98
99   - The threads, userprog, vm test source files could use
100     factorization and cleanup along the lines of fslib in the filesys
101     tests.
102
103   - The p1-4.c testcase needs significant tuning.  Currently it takes
104     too long (especially when SHOW_PROGRESS is turned on) and doesn't
105     show significant improvement.
106
107 * Code:
108
109   - Make printf() test actually check its results.
110
111   - Make threads test use a program and arguments like the other
112     projects.
113
114   - Revise command-line arguments for sensibility instead of for
115     Nachos compatibility.
116
117   - Get rid of all compile-time flags, e.g. MLFQS should be a runtime
118     command-line option.
119
120   - Need an optimization barrier and an explanation of it in the
121     documentation.
122
123   - Need to check the wait system call more thoroughly.