xv6
proc.c
swtch.S
进程调度
yield() --> sched() --> swtch() --> scheduler() --> swtch()
sleep, wakeup实现
管道pipe实现
wait, exit, kill实现