Function report | 
Source Code:kernel\sched\fair.c | 
Create Date:2022-07-28 09:38:09 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:Enqueue an entity into the rb-tree:
Proto:static void __enqueue_entity(struct cfs_rq *cfs_rq, struct sched_entity *se)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct cfs_rq * | cfs_rq | |
| struct sched_entity * | se | 
| 569 | bool leftmost = true | 
| 576 | entry = rb_entry(parent, structsched_entity, run_node) | 
| 581 | If entity_before(se, entry) Then | 
| 583 | Else | 
| 589 | rb_link_node( & run_node, parent, link) | 
| 590 | rb_insert_color_cached( & run_node, & tasks_timeline, leftmost) | 
| Name | Describe | 
|---|---|
| enqueue_entity | MIGRATION* dequeue* update_curr()* update_min_vruntime()* vruntime -= min_vruntime* enqueue* update_curr()* update_min_vruntime()* vruntime += min_vruntime* this way the vruntime transition between RQs is done when both* min_vruntime are up-to-date | 
| put_prev_entity | 
| 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  |