summaryrefslogtreecommitdiff
path: root/BUGS
blob: 6cc24344caa55a08de7150b35945a536accf0c5a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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.
	it is better if you check *before* sleep.

	can swap procdump up after proc_kill
	and then have proc_exit and proc_wait on same sheet

	sched ->  switch2scheduler?  or just switch?

	factor out switching and scheduling code from process code

trap.c
	if spin locks are ever held without cli,
	trap should call yield() only if nlock == 0

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 
      wdir keep in fs.c)

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?