Function report |
Source Code:kernel\sched\fair.c |
Create Date:2022-07-28 09:38:31 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:clear_buddies
Proto:static void clear_buddies(struct cfs_rq *cfs_rq, struct sched_entity *se)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct cfs_rq * | cfs_rq | |
struct sched_entity * | se |
4065 | If last == se Then __clear_buddies_last(se) |
4068 | If next == se Then __clear_buddies_next(se) |
4071 | If skip == se Then __clear_buddies_skip(se) |
Name | Describe |
---|---|
dequeue_entity | |
check_preempt_tick | Preempt the current task with a newly woken task if needed: |
pick_next_entity | Pick the next process, keeping these things in mind, in this order:* 1) keep things fair between processes/task groups* 2) pick the "next" process, since someone really wants that to run* 3) pick the "last" process, for cache locality* 4) do not run the |
yield_task_fair | sched_yield() is very simple* The magic of dealing with the ->skip buddy is in pick_next_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 |