Function report |
Source Code:kernel\sched\fair.c |
Create Date:2022-07-28 09:38:51 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:sched_yield() is very simple* The magic of dealing with the ->skip buddy is in pick_next_entity.
Proto:static void yield_task_fair(struct rq *rq)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct rq * | rq |
| 6817 | cfs_rq = task_cfs_rq(curr) |
| 6826 | clear_buddies(cfs_rq, se) |
| 6828 | If policy != SCHED_BATCH Then |
| 6829 | update_rq_clock(rq) |
| 6839 | rq_clock_skip_update(rq) |
| 6842 | set_skip_buddy(se) |
| Name | Describe |
|---|---|
| yield_to_task_fair |
| 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 |