函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:sugov_exit

函数原型:static void sugov_exit(struct cpufreq_policy *policy)

返回类型:void

参数:

类型参数名称
struct cpufreq_policy *policy
815  sg_policy等于governor_data
816  tunables等于tunables
819  mutex_lock( & global_tunables_lock)
821  count等于gov_attr_set_put( & attr_set, & tunables_hook)
822  governor_data = NULL
823  如果非countsugov_tunables_free(tunables)
826  mutex_unlock( & global_tunables_lock)
828  sugov_kthread_stop(sg_policy)
829  sugov_policy_free(sg_policy)
830  cpufreq_disable_fast_switch(policy)