函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\itmt.c Create Date:2022-07-27 09:49:34
Last Modify:2020-03-16 21:30:12 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:sched_itmt_update_handler

函数原型:static int sched_itmt_update_handler(struct ctl_table *table, int write, void __user *buffer, size_t *lenp, loff_t *ppos)

返回类型:int

参数:

类型参数名称
struct ctl_table *table
intwrite
void __user *buffer
size_t *lenp
loff_t *ppos
48  mutex_lock( & itmt_update_mutex)
50  如果非Boolean to track if system has ITMT capabilities
51  mutex_unlock( & itmt_update_mutex)
52  返回:负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  如果非retwriteold_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
59  Flag to indicate if a complete sched domain rebuild is required = true
60  rebuild_sched_domains()
63  mutex_unlock( & itmt_update_mutex)
65  返回:ret