2006-09-17 19:19:01 +00:00
|
|
|
proc.c:
|
|
|
|
as a consequence of the implementation of proc_kill,
|
|
|
|
any loop calling sleep should check for p->killed
|
|
|
|
and be able to break out with an error return.
|
2007-08-08 10:32:32 +00:00
|
|
|
it is better if you check *before* sleep.
|
2006-09-17 19:19:01 +00:00
|
|
|
|
|
|
|
can swap procdump up after proc_kill
|
|
|
|
and then have proc_exit and proc_wait on same sheet
|
|
|
|
|
2006-09-17 22:01:12 +00:00
|
|
|
sched -> switch2scheduler? or just switch?
|
|
|
|
|
2006-10-13 19:55:07 +00:00
|
|
|
factor out switching and scheduling code from process code
|
|
|
|
|
2007-08-10 17:19:15 +00:00
|
|
|
kalloc.c
|
|
|
|
more cleanups
|
2006-09-17 19:19:01 +00:00
|
|
|
|
2006-10-13 19:55:07 +00:00
|
|
|
ide.c: synchronous disk write -> polling disk write. search for
|
|
|
|
(a)synchronous; xv6 doesn't have asynchronous writes.
|
|
|
|
|
|
|
|
fs.c: split all name operations off in name.c? (starting with namei but move
|
2006-10-18 14:58:27 +00:00
|
|
|
wdir keep in fs.c)
|
2007-08-08 10:32:32 +00:00
|
|
|
|
|
|
|
pipe.c:
|
|
|
|
more comments?
|
|
|
|
comment how functions get called?
|
|
|
|
|
|
|
|
sysfile.c:
|
|
|
|
is the sys_exec picture upside down?
|
|
|
|
can sys_open and sys_exec be simplified any?
|
|
|
|
|
|
|
|
general:
|
|
|
|
sizeof parens?
|
|
|
|
|
2007-08-10 17:19:15 +00:00
|
|
|
L=$HOME/mit/l
|
|
|
|
(for i in *.c; do xoc -x xgnu -x ./nodecleq.zeta --typesonly $i; done) 2>&1 | grep warning
|
|
|
|
|