Function report |
Source Code:kernel\sched\fair.c |
Create Date:2022-07-28 09:38:53 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:alled on fork with the child task as argument from the parent's context* - child not yet on the tasklist* - preemption disabled
Proto:static void task_fork_fair(struct task_struct *p)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct task_struct * | p |
| 10306 | update_rq_clock(rq) |
| 10308 | cfs_rq = task_cfs_rq(current process) |
| 10309 | curr = 'curr' points to currently running entity on this cfs_rq.* It is set to NULL otherwise (i.e when none are currently running). |
| 10310 | If curr Then |
| 10314 | place_entity(cfs_rq, se, 1) |
| 10325 | vruntime -= min_vruntime |
| 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 |