函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:task_cfs_rq

函数原型:static inline struct cfs_rq *task_cfs_rq(struct task_struct *p)

返回类型:struct cfs_rq

参数:

类型参数名称
struct task_struct *p
447  返回 & ( & ( * ({
447  task_cpu(p)
447  ({
447  循环
447  const void * __vpp_verify = NULL
447  当0循环
447  runqueues的地址
447  })
447  })))->cfs
调用者
名称描述
check_preempt_wakeupPreempt the current task with a newly woken task if needed:
yield_task_fairsched_yield() is very simple* The magic of dealing with the ->skip buddy is in pick_next_entity.
task_fork_fairalled on fork with the child task as argument from the parent's context* - child not yet on the tasklist* - preemption disabled