1proc.c: 2 as a consequence of the implementation of proc_kill, 3 any loop calling sleep should check for p->killed 4 and be able to break out with an error return. 5 6 can swap procdump up after proc_kill 7 and then have proc_exit and proc_wait on same sheet 8 9 sched -> switch2scheduler? or just switch? 10 11 factor out switching and scheduling code from process code 12 13trap.c 14 if spin locks are ever held without cli, 15 trap should call yield() only if nlock == 0 16 17ide.c: synchronous disk write -> polling disk write. search for 18 (a)synchronous; xv6 doesn't have asynchronous writes. 19 20fs.c: split all name operations off in name.c? (starting with namei but move 21 wdir keep in fs.c) 22