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:16
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:sugov_exit

Proto:static void sugov_exit(struct cpufreq_policy *policy)

Type:void

Parameter:

TypeParameterName
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  If Not count Then sugov_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)