Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:kvm_flush_tlb_others

Proto:static void kvm_flush_tlb_others(const struct cpumask *cpumask, const struct flush_tlb_info *info)

Type:void

Parameter:

TypeParameterName
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  If state & KVM_VCPU_PREEMPTED Then
601  If try_cmpxchg( & preempted, & state, state | KVM_VCPU_FLUSH_TLB) Then __cpumask_clear_cpu(cpu, flushmask)
607  native_flush_tlb_others(flushmask, info)