Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:sugov_update_shared

Proto:static void sugov_update_shared(struct update_util_data *hook, u64 time, unsigned int flags)

Type:void

Parameter:

TypeParameterName
struct update_util_data *hook
u64time
unsigned intflags
526  sg_cpu = container_of - cast a member of a structure out to the containing structure*@ptr: the pointer to the member.*@type: the type of the container struct this is embedded in.*@member: the name of the member within the struct.(hook, structsugov_cpu, update_util)
527  sg_policy = sg_policy
530  raw_spin_lock( & For shared policies )
532  sugov_iowait_boost() - Updates the IO boost status of a CPU
533  last_update = time
535  Make sugov_should_update_freq() ignore the rate limit when DL* has increased the utilization.
537  If Governor internals ********************** Then
538  next_f = sugov_next_freq_shared(sg_cpu, time)
540  If fast_switch_enabled Then sugov_fast_switch(sg_policy, time, next_f)
542  Else sugov_deferred_update(sg_policy, time, next_f)
546  raw_spin_unlock( & For shared policies )