函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\process.c Create Date:2022-07-27 08:48:45
Last Modify:2020-03-16 17:03:44 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:speculation_ctrl_update_tif

函数原型:static unsigned long speculation_ctrl_update_tif(struct task_struct *tsk)

返回类型:unsigned long

参数:

类型参数名称
struct task_struct *tsk
583  如果test_and_clear_tsk_thread_flag(tsk, Force speculation MSR update in context switch )则
584  如果task_spec_ssb_disable(tsk)则Set thread flags in other task's structures.* See asm/thread_info.h for TIF_xxxx flags available:
586  否则清除线程指定标志
589  如果task_spec_ib_disable(tsk)则Set thread flags in other task's structures.* See asm/thread_info.h for TIF_xxxx flags available:
591  否则清除线程指定标志
595  返回:任务标志
调用者
名称描述
speculation_ctrl_update_currentCalled from seccomp/prctl update
__switch_to_xtra