Update
[pintos-anon] / TODO
1 -*- text -*-
2
3 * debug_backtrace() in kernel should only dereference valid pointers.
4
5 * Mention how to use add-symbol-file in gdb.
6
7 * We need better and more example programs.
8
9   - Need an mmap example program as a replacement for the crappy mmap FAQ
10     question.
11
12   - How about `diff' and `cmp' programs?
13
14 * Threads:
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   - Mark read-only pages as actually read-only in the page table.  Or,
28     since this was consistently rated as the easiest project by the
29     students, require them to do it.
30
31   - Don't provide per-process pagedir implementation but only
32     single-process implementation and require students to implement
33     the separation?  This project was rated as the easiest after all.
34     Alternately we could just remove the synchronization on pid
35     selection and check that students fix it.
36
37 * VM project:
38
39   - Discuss the perils of mixing dirty bits between kernel and user virtual
40     memory.
41
42   - Sample solution.
43
44   - Update grading/vm to reflect new mmap, munmap forms.
45
46 * Filesys project:
47
48   - Increase maximum disk size from 8 MB to something that actually
49     requires doubly indirect nodes.  There is a negative pressure here
50     from the bitmap object--perhaps we need a specialized bitmap that
51     doesn't have to be all in-memory at once.
52
53     Alternatively, shrink the inode size.
54
55   - Add option to disable buffer cache.
56
57   - Sample solution.
58
59   - Need a better way to measure performance improvement of buffer
60     cache.  Some students reported that their system was slower with
61     cache--likely, Bochs doesn't simulate a disk with a realistic
62     speed.
63
64   - Clarify effect of remove(cwd).
65
66 * Documentation:
67
68   - Finish writing tour.
69
70   - Add "Digging Deeper" sections that describe the nitty-gritty x86
71     details for the benefit of those interested.
72
73   - Add explanations of what "real" OSes do to give students some
74     perspective.
75
76   - GNU make 3.80 or later is required.
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 * Tests:
93
94   - Release some of them.
95
96   - The threads, userprog, vm test source files could use
97     factorization and cleanup along the lines of fslib in the filesys
98     tests.
99
100   - The p1-4.c testcase needs significant tuning.  Currently it takes
101     too long (especially when SHOW_PROGRESS is turned on) and doesn't
102     show significant improvement.
103
104 * Code:
105
106   - Need an optimization barrier and an explanation of it in the
107     documentation.
108
109   - Need to check the wait system call more thoroughly.