函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:update_stats_dequeue

函数原型:static inline void update_stats_dequeue(struct cfs_rq *cfs_rq, struct sched_entity *se, int flags)

返回类型:void

参数:

类型参数名称
struct cfs_rq *cfs_rq
struct sched_entity *se
intflags
1014  如果非schedstat_enabled()则返回
1021  如果se不等于'curr' points to currently running entity on this cfs_rq.* It is set to NULL otherwise (i.e when none are currently running).update_stats_wait_end(cfs_rq, se)
1024  如果flags按位与{de,en}queue flags:* DEQUEUE_SLEEP - task is no longer runnable* ENQUEUE_WAKEUP - task just became runnable* SAVE/RESTORE - an otherwise spurious dequeue/enqueue, done to ensure tasks* are in a known state which allows modification. Such pairsentity_is_task(se)则
1025  tsk等于CFS operations on generic schedulable entities:
1027  如果任务状态按位与睡眠态__schedstat_set(sleep_start, rq_clock(rq_of(cfs_rq)))
1030  如果任务状态按位与深度睡眠态__schedstat_set(block_start, rq_clock(rq_of(cfs_rq)))
调用者
名称描述
dequeue_entity