aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform/surface/aggregator/ssh_parser.c
diff options
context:
space:
mode:
authorLi RongQing <[email protected]>2024-07-11 12:11:30 +0000
committerPaolo Bonzini <[email protected]>2024-08-13 16:09:35 +0000
commitc9b35a6f4edea698a5bb4dd8029e7104ee0a3726 (patch)
treed02be924bf3e7c4ac041b03a4abbe181bbdba450 /drivers/platform/surface/aggregator/ssh_parser.c
parentKVM: selftests: Add a testcase to verify x2APIC is fully readonly (diff)
downloadkernel-c9b35a6f4edea698a5bb4dd8029e7104ee0a3726.tar.gz
kernel-c9b35a6f4edea698a5bb4dd8029e7104ee0a3726.zip
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 <[email protected]> Message-ID: <[email protected]> [Call it just once in irqfd_resampler_shutdown. - Paolo] Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'drivers/platform/surface/aggregator/ssh_parser.c')
0 files changed, 0 insertions, 0 deletions