diff options
author | Yi Wang <foxywang@tencent.com> | 2024-05-06 13:17:50 +0300 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2024-06-12 00:18:40 +0300 |
commit | e3c89f5dd11df791b55b320c3869a97414ef5d06 (patch) | |
tree | ed6d459e43724ce9c490ecadbdb12979ea340588 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | fbe4a7e881d4408bfabbb4fd538f10fd686cd8ab (diff) | |
download | linux-e3c89f5dd11df791b55b320c3869a97414ef5d06.tar.xz |
KVM: x86: Don't re-setup empty IRQ routing when KVM_CAP_SPLIT_IRQCHIP
Now that KVM sets up empty IRQ routing during VM creation, don't recreate
empty routing during KVM_CAP_SPLIT_IRQCHIP. Setting IRQ routes during
KVM_CAP_SPLIT_IRQCHIP can result in 20+ milliseconds of delay due to the
synchronize_srcu_expedited() call in kvm_set_irq_routing().
Note, the empty routing is guaranteed to be intact as KVM x86 only allows
changing the IRQ routing after an in-kernel IRQCHIP has been created, and
KVM_CAP_SPLIT_IRQCHIP is disallowed after creating an IRQCHIP.
Signed-off-by: Yi Wang <foxywang@tencent.com>
Link: https://lore.kernel.org/r/20240506101751.3145407-3-foxywang@tencent.com
[sean: massage changelog, remove unused empty_routing array]
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions