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