Function report | 
Source Code:arch\x86\kernel\cpu\bugs.c | 
Create Date:2022-07-28 07:56:03 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:mds_select_mitigation
Proto:static void __init mds_select_mitigation(void)
Type:void
Parameter:Nothing
| 240 | If Not boot_cpu_has_bug(CPU is affected by Microarchitectural data sampling ) || cpu_mitigations_off() Then | 
| 242 | Return | 
| 245 | If Default mitigation for MDS-affected CPUs == MDS_MITIGATION_FULL Then | 
| 246 | If Not boot_cpu_has(VERW clears CPU buffers ) Then Default mitigation for MDS-affected CPUs = MDS_MITIGATION_VMWERV | 
| 249 | Normal usage; boolean enable/disable.( & Control MDS CPU buffer clear before returning to user space ) | 
| 251 | If Not boot_cpu_has(CPU is only affected by the MSDBS variant of BUG_MDS ) && (mds_nosmt || cpu_mitigations_auto_nosmt()) Then cpu_smt_disable(false) | 
| Name | Describe | 
|---|---|
| check_bugs | |
| taa_select_mitigation | 
| 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  |