Scheduler Entry
The main entry point into process scheduling is in schedule()
in kernel/sched.c
. It find the highest priority scheduler class with a runnable process, and asks it what to run.
pick_next_task()
goes through each scheduler class, starting with the highest priority, and selects the highest priority process in the highest priority class