summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2025-04-01 18:47:26 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2025-04-04 14:11:59 +0300
commit6bad6ecc63b75af294ff3f56f54d6b857c8964a5 (patch)
tree0ca7d6ea544b6fe25ca7f8563f55fd2ae8407a54 /tools/perf/scripts/python/task-analyzer.py
parent782f9feaa9517caf33186dcdd6b50a8f770ed29b (diff)
downloadlinux-6bad6ecc63b75af294ff3f56f54d6b857c8964a5.tar.xz
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 <seanjc@google.com> Reviewed-by: Maxim Levitsky <mlevitsk@redhat.com> Reviewed-by: Yan Zhao <yan.y.zhao@intel.com> Message-ID: <20250401154727.835231-2-seanjc@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions