Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\itmt.c Create Date:2022-07-28 08:50:22
Last Modify:2020-03-16 21:30:12 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:sched_set_itmt_support() - Indicate platform supports ITMT* This function is used by the OS to indicate to scheduler that the platform* is capable of supporting the ITMT feature.* The current scheme has the pstate driver detects if the system

Proto:int sched_set_itmt_support(void)

Type:int

Parameter:Nothing

111  mutex_lock( & itmt_update_mutex)
113  If Boolean to track if system has ITMT capabilities Then
114  mutex_unlock( & itmt_update_mutex)
115  Return 0
118  itmt_sysctl_header = register a sysctl hierarchy
119  If Not itmt_sysctl_header Then
120  mutex_unlock( & itmt_update_mutex)
121  Return -ENOMEM
124  Boolean to track if system has ITMT capabilities = true
126  Boolean to control whether we want to move processes to cpu capable* of higher turbo frequency for cpus supporting Intel Turbo Boost Max* Technology 3.0.* It can be set via /proc/sys/kernel/sched_itmt_enabled = 1
128  Flag to indicate if a complete sched domain rebuild is required = true
129  rebuild_sched_domains()
131  mutex_unlock( & itmt_update_mutex)
133  Return 0