Fix line wrapping.
[pintos-anon] / TODO
1 -*- text -*-
2
3 * Add a way for students to prints messages ignored by the autograder.
4
5   - Ignore lines that start with `#'?
6
7   - Allow for a comment on `exit' lines?
8
9 * Improve automatic interpretation of exception messages.
10
11 * Remove names from synchronization primitives?  They don't seem
12   useful in practice.
13
14 * debug_backtrace() in kernel should only dereference valid pointers.
15
16 * Mention how to use add-symbol-file in gdb.
17
18 * We need better and more example programs.
19
20   - Need an mmap example program as a replacement for the crappy mmap FAQ
21     question.
22
23   - How about `diff' and `cmp' programs?
24
25 * Threads:
26
27   - mlfqs tests suck.  They aren't even correct, e.g. the amarv
28     submission from win0405 is graded incorrectly.
29
30 * Userprog project:
31
32   - Don't emphasize that stuff needs to be copied from user space to
33     kernel space.  Instead, emphasize validation and suggest that
34     copying is a common solution and that it will be necessary in
35     project 3 and in real OSes.  Also revise the grading criteria to
36     match.
37
38   - Mark read-only pages as actually read-only in the page table.  Or,
39     since this was consistently rated as the easiest project by the
40     students, require them to do it.
41
42   - Don't provide per-process pagedir implementation but only
43     single-process implementation and require students to implement
44     the separation?  This project was rated as the easiest after all.
45     Alternately we could just remove the synchronization on pid
46     selection and check that students fix it.
47
48 * VM project:
49
50   - Discuss the perils of mixing dirty bits between kernel and user virtual
51     memory.
52
53   - Sample solution.
54
55   - Update grading/vm to reflect new mmap, munmap forms.
56
57 * Filesys project:
58
59   - Increase maximum disk size from 8 MB to something that actually
60     requires doubly indirect nodes.  There is a negative pressure here
61     from the bitmap object--perhaps we need a specialized bitmap that
62     doesn't have to be all in-memory at once.
63
64     Alternatively, shrink the inode size.
65
66   - Add option to disable buffer cache.
67
68   - Sample solution.
69
70   - Need a better way to measure performance improvement of buffer
71     cache.  Some students reported that their system was slower with
72     cache--likely, Bochs doesn't simulate a disk with a realistic
73     speed.
74
75   - Clarify effect of remove(cwd).
76
77 * Documentation:
78
79   - Finish writing tour.
80
81   - Add "Digging Deeper" sections that describe the nitty-gritty x86
82     details for the benefit of those interested.
83
84   - Add explanations of what "real" OSes do to give students some
85     perspective.
86
87   - GNU make 3.80 or later is required.
88
89 * Assignments:
90
91   - Add extra credit:
92
93     . Low-level x86 stuff, like paged page tables.
94
95     . Specifics on how to implement sbrk, malloc.
96
97     . Other good ideas.
98
99     . opendir/readdir/closedir
100
101     . everything needed for getcwd()
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   - Need an optimization barrier and an explanation of it in the
118     documentation.
119
120   - Need to check the wait system call more thoroughly.