aboutsummaryrefslogtreecommitdiff
path: root/hw/xen/xen-bus-helper.c
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@redhat.com>2020-06-17 14:21:55 +0100
committerStefan Hajnoczi <stefanha@redhat.com>2020-06-23 15:46:08 +0100
commit2446e0e2e9c9aaa5f8e8c7ef9a41fe8516054831 (patch)
treecf7b49f174a5c6880ec9e9992c1ae86a4d5a5370 /hw/xen/xen-bus-helper.c
parentd6d1a65ccab670788b6c30d918ac7bd636513f8e (diff)
downloadqemu-2446e0e2e9c9aaa5f8e8c7ef9a41fe8516054831.zip
qemu-2446e0e2e9c9aaa5f8e8c7ef9a41fe8516054831.tar.gz
qemu-2446e0e2e9c9aaa5f8e8c7ef9a41fe8516054831.tar.bz2
block/nvme: poll queues without q->lock
A lot of CPU time is spent simply locking/unlocking q->lock during polling. Check for completion outside the lock to make q->lock disappear from the profile. Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Sergio Lopez <slp@redhat.com> Message-id: 20200617132201.1832152-2-stefanha@redhat.com Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'hw/xen/xen-bus-helper.c')
0 files changed, 0 insertions, 0 deletions