Function report |
Source Code:arch\x86\kernel\cpu\bugs.c |
Create Date:2022-07-28 07:56:18 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:cpu_bugs_smt_update
Proto:void cpu_bugs_smt_update(void)
Type:void
Parameter:Nothing
| 915 | mutex_lock( & spec_ctrl_mutex) |
| 918 | Case spectre_v2_user == SPECTRE_V2_USER_NONE |
| 919 | Break |
| 920 | Case spectre_v2_user == SPECTRE_V2_USER_STRICT |
| 921 | Case spectre_v2_user == SPECTRE_V2_USER_STRICT_PREFERRED |
| 923 | Break |
| 924 | Case spectre_v2_user == SPECTRE_V2_USER_PRCTL |
| 925 | Case spectre_v2_user == SPECTRE_V2_USER_SECCOMP |
| 927 | Break |
| 933 | If sched_smt_active() && Not boot_cpu_has(CPU is only affected by the MSDBS variant of BUG_MDS ) Then pr_warn_once(MDS_MSG_SMT) |
| 936 | Break |
| 938 | Break |
| 944 | If sched_smt_active() Then pr_warn_once(TAA_MSG_SMT) |
| 946 | Break |
| 949 | Break |
| 952 | mutex_unlock( & spec_ctrl_mutex) |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |