diff options
| author | Sean Christopherson <[email protected]> | 2025-04-01 15:47:26 +0000 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2025-04-04 11:11:59 +0000 |
| commit | 6bad6ecc63b75af294ff3f56f54d6b857c8964a5 (patch) | |
| tree | 0ca7d6ea544b6fe25ca7f8563f55fd2ae8407a54 /rust/helpers/workqueue.c | |
| parent | Merge branch 'kvm-pre-tdx' into HEAD (diff) | |
| download | kernel-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/workqueue.c')
0 files changed, 0 insertions, 0 deletions
