diff options
author | Stefan Hajnoczi <stefanha@redhat.com> | 2020-06-17 14:21:55 +0100 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2020-06-23 15:46:08 +0100 |
commit | 2446e0e2e9c9aaa5f8e8c7ef9a41fe8516054831 (patch) | |
tree | cf7b49f174a5c6880ec9e9992c1ae86a4d5a5370 /hw/xen/xen-bus-helper.c | |
parent | d6d1a65ccab670788b6c30d918ac7bd636513f8e (diff) | |
download | qemu-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