Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\process.c Create Date:2022-07-28 07:48:44
Last Modify:2020-03-16 17:03:44 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:speculation_ctrl_update_tif

Proto:static unsigned long speculation_ctrl_update_tif(struct task_struct *tsk)

Type:unsigned long

Parameter:

TypeParameterName
struct task_struct *tsk
583  If test_and_clear_tsk_thread_flag(tsk, Force speculation MSR update in context switch ) Then
584  If task_spec_ssb_disable(tsk) Then Set thread flags in other task's structures.* See asm/thread_info.h for TIF_xxxx flags available:
586  Else clear_tsk_thread_flag(tsk, Speculative store bypass disable )
589  If task_spec_ib_disable(tsk) Then Set thread flags in other task's structures.* See asm/thread_info.h for TIF_xxxx flags available:
591  Else clear_tsk_thread_flag(tsk, Indirect branch speculation mitigation )
595  Return Per task flags (PF_*), defined further below:
Caller
NameDescribe
speculation_ctrl_update_currentCalled from seccomp/prctl update
__switch_to_xtra