aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/parallel-perf.py
diff options
context:
space:
mode:
authorLi RongQing <lirongqing@baidu.com>2024-07-11 20:11:30 +0800
committerPaolo Bonzini <pbonzini@redhat.com>2024-08-13 12:09:35 -0400
commitc9b35a6f4edea698a5bb4dd8029e7104ee0a3726 (patch)
treed02be924bf3e7c4ac041b03a4abbe181bbdba450 /tools/perf/scripts/python/parallel-perf.py
parent238d3d63d1e27c8d9733b48f7b682fc6aba86672 (diff)
KVM: eventfd: Use synchronize_srcu_expedited() on shutdown
When hot-unplug a device which has many queues, and guest CPU will has huge jitter, and unplugging is very slow. It turns out synchronize_srcu() in irqfd_shutdown() caused the guest jitter and unplugging latency, so replace synchronize_srcu() with synchronize_srcu_expedited(), to accelerate the unplugging, and reduce the guest OS jitter, this accelerates the VM reboot too. Signed-off-by: Li RongQing <lirongqing@baidu.com> Message-ID: <20240711121130.38917-1-lirongqing@baidu.com> [Call it just once in irqfd_resampler_shutdown. - Paolo] Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions