Function report |
Source Code:kernel\sched\fair.c |
Create Date:2022-07-28 09:38:32 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:dequeue_entity
Proto:static void dequeue_entity(struct cfs_rq *cfs_rq, struct sched_entity *se, int flags)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct cfs_rq * | cfs_rq | |
| struct sched_entity * | se | |
| int | flags |
| 4093 | update_load_avg(cfs_rq, se, UPDATE_TG) |
| 4094 | dequeue_runnable_load_avg(cfs_rq, se) |
| 4096 | update_stats_dequeue(cfs_rq, se, flags) |
| 4098 | clear_buddies(cfs_rq, se) |
| 4100 | If se != 'curr' points to currently running entity on this cfs_rq.* It is set to NULL otherwise (i.e when none are currently running). Then __dequeue_entity(cfs_rq, se) |
| 4102 | on_rq = 0 |
| 4103 | account_entity_dequeue(cfs_rq, se) |
| 4115 | return_cfs_rq_runtime(cfs_rq) |
| 4117 | update_cfs_group(se) |
| 4125 | If (flags & (Matches ENQUEUE_RESTORE | Matches ENQUEUE_MOVE )) != Matches ENQUEUE_RESTORE Then update_min_vruntime(cfs_rq) |
| Name | Describe |
|---|---|
| dequeue_task_fair | The dequeue_task method is called before nr_running is* decreased. We remove the task from the rbtree and* update the fair scheduling stats: |
| 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 |