函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\sched\fair.c Create Date:2022-07-27 10:39:18
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:set_next_buddy

函数原型:static void set_next_buddy(struct sched_entity *se)

返回类型:void

参数:

类型参数名称
struct sched_entity *se
6544  如果entity_is_task(se)且此条件成立可能性小(为编译器优化)(task_has_idle_policy(CFS operations on generic schedulable entities:))则返回
6548  如果SCHED_WARN_ON(!on_rq)则返回
6550  next等于se
调用者
名称描述
dequeue_task_fairThe dequeue_task method is called before nr_running is* decreased. We remove the task from the rbtree and* update the fair scheduling stats:
check_preempt_wakeupPreempt the current task with a newly woken task if needed:
yield_to_task_fair