diff options
author | Keir Fraser <keirf@google.com> | 2025-09-09 10:00:07 +0000 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2025-09-15 10:55:23 +0100 |
commit | 7d9a0273c45962e9a6bc06f3b87eef7c431c1853 (patch) | |
tree | 163b60288a036257cfa8921cbd06537f4c084559 /tools/docs/lib/parse_data_structs.py | |
parent | 7788255aba6545a27b8d143c5256536f8dfb2c0a (diff) |
KVM: Avoid synchronize_srcu() in kvm_io_bus_register_dev()
Device MMIO registration may happen quite frequently during VM boot,
and the SRCU synchronization each time has a measurable effect
on VM startup time. In our experiments it can account for around 25%
of a VM's startup time.
Replace the synchronization with a deferred free of the old kvm_io_bus
structure.
Tested-by: Li RongQing <lirongqing@baidu.com>
Signed-off-by: Keir Fraser <keirf@google.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'tools/docs/lib/parse_data_structs.py')
0 files changed, 0 insertions, 0 deletions