X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=TODO;h=b4e216e1288f0ced59b414d8979ce303c0771099;hb=92a9042260216e7e1ed82795f4d14b3447c91fa0;hp=30f324682f09fc10a05eacd400ad8f1fa1ae6422;hpb=ff076af15fa93292b8843e76bd6bab7ac5421095;p=pintos-anon diff --git a/TODO b/TODO index 30f3246..b4e216e 100644 --- a/TODO +++ b/TODO @@ -1,30 +1,66 @@ -*- text -*- -* The p1-4.c testcase needs significant tuning. Currently it takes - too long (especially when SHOW_PROGRESS is turned on) and doesn't - show significant improvement. +* FS and GS: -* The semantics of the join system call should change so that it only - returns the exit code once. + - struct intr_frame: Add members. + + - intr_entry(): Save, reset. -* mmap/munmap should use segment IDs like Nachos. Too hard otherwise. + - intr_exit(): Restore. -* Some confusion--do we really get overlapping ro/rw segment in normal - link? Student example seemed to show that we don't. + - execute_thread(): Initialize. -* Finish writing the tour. +* Userprog project: -* Come up with a way for us to release some of the tests. + - Move `join' implementation here, from `threads' project, to help + normalize the project difficulties. -* userprog project should mark read-only pages as actually read-only - in the page table + - The semantics of the join system call should change so that it + only returns the exit code once. -* Add src/testcases/vm, src/testcases/filesys and make it clear to use - them? + - Mark read-only pages as actually read-only in the page table. Or, + since this was consistently rated as the easiest project by the + students, require them to do it. -* Speed up disk routines: filling an 8 MB disk takes a long time. + - Don't provide per-process pagedir implementation but only + single-process implementation and require students to implement + the separation? This project was rated as the easiest after all. + Alternately we could just remove the synchronization on pid + selection and check that students fix it. -* Not sure that raw arc4 should really be used so much in the tests. - Any reason not to use random_bytes()? +* Documentation: + + - Finish writing tour. + + - Add "Digging Deeper" sections that describe the nitty-gritty x86 + details for the benefit of those interested. + + - Add explanations of what "real" OSes do to give students some + perspective. + +* Assignments: + + - Add extra credit: + + . Low-level x86 stuff, like paged page tables. + + . Other good ideas. + + - mmap/munmap should use segment IDs like Nachos. Too hard + otherwise. + + - Add src/testcases/vm, src/testcases/filesys and make it clear to use + them? + +* Tests: + + - Release some of them. + + - The threads, userprog, vm test source files could use + factorization and cleanup along the lines of fslib in the filesys + tests. + + - The p1-4.c testcase needs significant tuning. Currently it takes + too long (especially when SHOW_PROGRESS is turned on) and doesn't + show significant improvement. -* Grading script patches needed anymore?