函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:kvm_flush_tlb_others

函数原型:static void kvm_flush_tlb_others(const struct cpumask *cpumask, const struct flush_tlb_info *info)

返回类型:void

参数:

类型参数名称
const struct cpumask *cpumask
const struct flush_tlb_info *info
590  flushmask等于this_cpu_cpumask_var_ptr(__pv_tlb_mask)
592  pumask_copy - *dstp = *srcp*@dstp: the result*@srcp: the input cpumask
598  src等于per_cpu(steal_time, cpu)
599  state等于READ_ONCE(preempted)
600  如果state按位与KVM_VCPU_PREEMPTED
601  如果try_cmpxchg( & preempted, & state, state | KVM_VCPU_FLUSH_TLB)则__cpumask_clear_cpu(cpu, flushmask)
607  native_flush_tlb_others(flushmask, info)