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