Function report |
Source Code:kernel\sched\fair.c |
Create Date:2022-07-28 09:38:27 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:place_entity
Proto:static void place_entity(struct cfs_rq *cfs_rq, struct sched_entity *se, int initial)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct cfs_rq * | cfs_rq | |
struct sched_entity * | se | |
int | initial |
3895 | vruntime = min_vruntime |
3903 | If initial && sched_feat(START_DEBIT) Then vruntime += We calculate the vruntime slice of a to-be-inserted task.* vs = s/w |
3907 | If Not initial Then |
3914 | If sched_feat(GENTLE_FAIR_SLEEPERS) Then thresh >>= 1 |
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 |
task_fork_fair | alled on fork with the child task as argument from the parent's context* - child not yet on the tasklist* - preemption disabled |
detach_task_cfs_rq |
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 |