First page Back Continue Last page Summary Graphics
PLS: schedule() (cont)
- If current is not runnable, the idle task becomes the default and we potentially need to scan all lists
Scan lists in top down order
- As tasks are found, the default task is replaced
- If a local (last ran on this CPU) task is found this becomes the next task and the scan is halted
- Non-local tasks establish a lower bound PROC_CHANGE_PENALTY from default
Notes: