diff options
author | Jan Kiszka <jan.kiszka@siemens.com> | 2010-11-16 21:30:03 (GMT) |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2011-01-12 09:29:20 (GMT) |
commit | 0645211c43df0b96c51e12980066b3227e10b164 (patch) | |
tree | 2c23ea65e07b9481681eb6bb7cc5d7d2fa109917 /fs/hfs | |
parent | 0c106b5aaa727c7f508828e94cff4a98874f930c (diff) | |
download | linux-0645211c43df0b96c51e12980066b3227e10b164.tar.xz |
KVM: Switch assigned device IRQ forwarding to threaded handler
This improves the IRQ forwarding for assigned devices: By using the
kernel's threaded IRQ scheme, we can get rid of the latency-prone work
queue and simplify the code in the same run.
Moreover, we no longer have to hold assigned_dev_lock while raising the
guest IRQ, which can be a lenghty operation as we may have to iterate
over all VCPUs. The lock is now only used for synchronizing masking vs.
unmasking of INTx-type IRQs, thus is renames to intx_lock.
Acked-by: Alex Williamson <alex.williamson@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'fs/hfs')
0 files changed, 0 insertions, 0 deletions