Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\sched\cpufreq_schedutil.c Create Date:2022-07-28 09:44:58
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:sugov_iowait_apply() - Apply the IO boost to a CPU

Proto:static unsigned long sugov_iowait_apply(struct sugov_cpu *sg_cpu, u64 time, unsigned long util, unsigned long max)

Type:unsigned long

Parameter:

TypeParameterName
struct sugov_cpu *sg_cpu
u64time
unsigned longutil
unsigned longmax
399  If Not iowait_boost Then Return util
403  If sugov_iowait_reset() - Reset the IO boost status of a CPU Then Return util
406  If Not iowait_boost_pending Then
410  iowait_boost >>= 1
411  If iowait_boost < IOWAIT_BOOST_MIN Then
412  iowait_boost = 0
413  Return util
417  iowait_boost_pending = false
423  boost = iowait_boost * max >> Increase resolution of cpu_capacity calculations
424  Return max(boost, util)
Caller
NameDescribe
sugov_update_single
sugov_next_freq_shared