Process Schedule
Task_structure
need_resched, priority
- nice
- counter
- rt_priority
policy
- SCHED_OTHER: traditional UNIX process
- SCHED_FIFO: run to finish except 1. Block I/O, 2. Yield 3. preempted
- SCHED_RR: run to timeslice expiration
- SCHED_YIELD: OR with above, __get_free_page
schedule()
list
goodness: -1000, 0, 1~ 999, 1000~
__switch_to: FPU, LDT, thread_structure, TSS, segments, debug registers
history of switch_to