调用者名称 | 描述 |
enqueue_task | |
dequeue_task | |
ttwu_remote | Called in case the task @p isn't fully descheduled from its runqueue,* in this case we must do a remote wakeup. Its a 'light' wakeup though,* since all we need to do is flip p->state to TASK_RUNNING, since* the task is still ->on_rq. |
ttwu_queue | |
wake_up_new_task | wake_up_new_task - wake up a newly created task for the first time.* This function will do some initial scheduler statistics housekeeping* that must be done for every newly created context, then puts the task* on the runqueue and wakes it. |
task_sched_runtime | Return accounted runtime for the task.* In case the task is currently running, return the runtime plus current's* pending runtime that have not been accounted yet. |
scheduler_tick | This function gets called by the timer code, with HZ frequency.* We call it with interrupts disabled. |
__schedule | 调度器 |
set_user_nice | |
__sched_setscheduler | |
yield_task_fair | sched_yield() is very simple* The magic of dealing with the ->skip buddy is in pick_next_entity. |
task_fork_fair | alled on fork with the child task as argument from the parent's context* - child not yet on the tasklist* - preemption disabled |
do_sched_rt_period_timer | |
dl_task_timer | This is the bandwidth enforcement timer callback |
inactive_task_timer | |
yield_task_dl | Yield task semantic for -deadline tasks is:* get off from the CPU until our next instance, with* a new runtime |