1.Linux 0.11 的调度函数 schedule
kernel/sched.c
schedule() 的目的是找到下一个任务 next,切换到下一个任务
/*
* 'schedule()' is the scheduler function. This is GOOD CODE! There
* probably won't be any reason to change this, as it should work well
* in all circumstances (ie gives IO-bound processes good response etc).
* The one thing you might take a look at is the signal-handler code here.
*
* NO