Function report |
Source Code:kernel\sched\core.c |
Create Date:2022-07-28 09:35:38 |
| Last Modify:2022-05-22 13:40:38 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:check_preempt_curr
Proto:void check_preempt_curr(struct rq *rq, struct task_struct *p, int flags)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct rq * | rq | |
| struct task_struct * | p | |
| int | flags |
| 1422 | If sched_class == sched_class Then |
| 1423 | check_preempt_curr(rq, p, flags) |
| 1424 | Else |
| 1425 | for_each_class(class) |
| 1439 | If task_on_rq_queued(curr) && test_tsk_need_resched(curr) Then rq_clock_skip_update(rq) |
| Name | Describe |
|---|---|
| ttwu_do_wakeup | Mark the task runnable and perform wakeup-preemption. |
| 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. |
| prio_changed_fair | Priority of the task has changed. Check to see if we preempt* the current task. |
| switched_to_fair |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |