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

Name:sched_itmt_update_handler

Proto:static int sched_itmt_update_handler(struct ctl_table *table, int write, void __user *buffer, size_t *lenp, loff_t *ppos)

Type:int

Parameter:

TypeParameterName
struct ctl_table *table
intwrite
void __user *buffer
size_t *lenp
loff_t *ppos
48  mutex_lock( & itmt_update_mutex)
50  If Not Boolean to track if system has ITMT capabilities Then
51  mutex_unlock( & itmt_update_mutex)
52  Return -EINVAL
55  old_sysctl = 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
56  ret = proc_dointvec_minmax(table, write, buffer, lenp, ppos)
58  If Not ret && write && old_sysctl != 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 Then
59  Flag to indicate if a complete sched domain rebuild is required = true
60  rebuild_sched_domains()
63  mutex_unlock( & itmt_update_mutex)
65  Return ret