函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称: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

函数原型:bool cpufreq_this_cpu_can_update(struct cpufreq_policy *policy)

返回类型:bool

参数:

类型参数名称
struct cpufreq_policy *policy
74  返回:测试CPU信息* 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.cu_dereference_sched() - fetch RCU-sched-protected pointer for dereferencing*@p: The pointer to read, prior to dereferencing* Makes rcu_dereference_check() do the dirty work.( * this_cpu_ptr( & cpufreq_update_util_data))
调用者
名称描述
sugov_should_update_freqGovernor internals **********************