Function report |
Source Code:kernel\sched\core.c |
Create Date:2022-07-28 09:35:27 |
| Last Modify:2022-05-22 13:40:38 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:ask_rq_lock - lock p->pi_lock and lock the rq @p resides on.
Proto:struct rq *task_rq_lock(struct task_struct *p, struct rq_flags *rf)__acquires(p->pi_lock) __acquires(rq->lock)
Type:struct rq
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct task_struct * | p | |
| struct rq_flags * | rf |
| 109 | cycle |
| 112 | raw_spin_lock( & runqueue lock: ) |
| 130 | If Value is more likely to compile time(rq == task_rq(p) && !task_on_rq_migrating(p)) Then |
| 131 | rq_pin_lock(rq, rf) |
| 132 | Return rq |
| 134 | raw_spin_unlock( & runqueue lock: ) |
| 138 | cpu_relax() |
| Name | Describe |
|---|---|
| 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. |
| set_user_nice | |
| __sched_setscheduler | |
| sched_rr_get_interval | |
| read_sum_exec_runtime | |
| dl_task_timer | This is the bandwidth enforcement timer callback |
| inactive_task_timer | |
| cgroup_move_task | group_move_task - move task to a different cgroup*@task: the task*@to: the target css_set* Move task to a new cgroup and safely migrate its associated stall* state between the different groups |
| klp_try_switch_task | Try to safely switch a task to the target patch state. If it's currently* running, or it's sleeping on a to-be-patched or to-be-unpatched function, or* if the stack is unreliable, return false. |
| 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 |