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