aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/mutex.c
diff options
context:
space:
mode:
authorYosry Ahmed <[email protected]>2025-04-29 15:32:15 +0000
committerSean Christopherson <[email protected]>2025-04-29 15:39:35 +0000
commit1bee4838eb3a2c689f23c7170ea66ae87ea7d93a (patch)
tree26877f8cd90e0d64e2edc512acce7ec9d47ccc18 /rust/helpers/mutex.c
parentKVM: x86: Add module param to control and enumerate device posted IRQs (diff)
downloadkernel-1bee4838eb3a2c689f23c7170ea66ae87ea7d93a.tar.gz
kernel-1bee4838eb3a2c689f23c7170ea66ae87ea7d93a.zip
KVM: SVM: Clear current_vmcb during vCPU free for all *possible* CPUs
When freeing a vCPU and thus its VMCB, clear current_vmcb for all possible CPUs, not just online CPUs, as it's theoretically possible a CPU could go offline and come back online in conjunction with KVM reusing the page for a new VMCB. Link: https://lore.kernel.org/all/[email protected] Fixes: fd65d3142f73 ("kvm: svm: Ensure an IBPB on all affected CPUs when freeing a vmcb") Cc: [email protected] Cc: Jim Mattson <[email protected]> Signed-off-by: Yosry Ahmed <[email protected]> [sean: split to separate patch, write changelog] Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'rust/helpers/mutex.c')
0 files changed, 0 insertions, 0 deletions