函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:sugov_iowait_reset() - Reset the IO boost status of a CPU

函数原型:static bool sugov_iowait_reset(struct sugov_cpu *sg_cpu, u64 time, bool set_iowait_boost)

返回类型:bool

参数:

类型参数名称
struct sugov_cpu *sg_cpu
u64time
boolset_iowait_boost
318  delta_ns等于timelast_update
321  如果delta_ns小于等于TICK_NSEC is the time between ticks in nsec assuming SHIFTED_HZ 则返回:false
324  iowait_boost等于如果set_iowait_boostIOWAIT_BOOST_MIN否则0
325  iowait_boost_pending等于set_iowait_boost
327  返回:true
调用者
名称描述
sugov_iowait_boostsugov_iowait_boost() - Updates the IO boost status of a CPU
sugov_iowait_applysugov_iowait_apply() - Apply the IO boost to a CPU