aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/refcount.c
diff options
context:
space:
mode:
authorSean Christopherson <[email protected]>2025-04-01 15:47:26 +0000
committerPaolo Bonzini <[email protected]>2025-04-04 11:11:59 +0000
commit6bad6ecc63b75af294ff3f56f54d6b857c8964a5 (patch)
tree0ca7d6ea544b6fe25ca7f8563f55fd2ae8407a54 /rust/helpers/refcount.c
parentMerge branch 'kvm-pre-tdx' into HEAD (diff)
downloadkernel-6bad6ecc63b75af294ff3f56f54d6b857c8964a5.tar.gz
kernel-6bad6ecc63b75af294ff3f56f54d6b857c8964a5.zip
KVM: VMX: Assert that IRQs are disabled when putting vCPU on PI wakeup list
Assert that IRQs are already disabled when putting a vCPU on a CPU's PI wakeup list, as opposed to saving/disabling+restoring IRQs. KVM relies on IRQs being disabled until the vCPU task is fully scheduled out, i.e. until the scheduler has dropped all of its per-CPU locks (e.g. for the runqueue), as attempting to wake the task while it's being scheduled out could lead to deadlock. Signed-off-by: Sean Christopherson <[email protected]> Reviewed-by: Maxim Levitsky <[email protected]> Reviewed-by: Yan Zhao <[email protected]> Message-ID: <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'rust/helpers/refcount.c')
0 files changed, 0 insertions, 0 deletions