Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:pufreq_this_cpu_can_update - Check if cpufreq policy can be updated.*@policy: cpufreq policy to check.* Return 'true' if:* - the local and remote CPUs share @policy,* - dvfs_possible_from_any_cpu is set in @policy and the local CPU is not going

Proto:bool cpufreq_this_cpu_can_update(struct cpufreq_policy *policy)

Type:bool

Parameter:

TypeParameterName
struct cpufreq_policy *policy
74  Return pumask_test_cpu - test for a cpu in a cpumask*@cpu: cpu number (< nr_cpu_ids)*@cpumask: the cpumask pointer* Returns 1 if @cpu is set in @cpumask, else returns 0 || * Remote DVFS flag (Not added to the driver structure as we don't want * to access another structure from scheduler hotpath). * Should be set if CPUs can do DVFS on behalf of other CPUs from * different cpufreq policies. && fetch RCU-sched-protected pointer for dereferencing( * this_cpu_ptr( & cpufreq_update_util_data))
Caller
NameDescribe
sugov_should_update_freqGovernor internals **********************