summaryrefslogtreecommitdiffstats
path: root/include/exec
diff options
context:
space:
mode:
authorStefan Hajnoczi2020-06-17 15:21:55 +0200
committerStefan Hajnoczi2020-06-23 16:46:08 +0200
commit2446e0e2e9c9aaa5f8e8c7ef9a41fe8516054831 (patch)
treecf7b49f174a5c6880ec9e9992c1ae86a4d5a5370 /include/exec
parentcheck-block: enable iotests with SafeStack (diff)
downloadqemu-2446e0e2e9c9aaa5f8e8c7ef9a41fe8516054831.tar.gz
qemu-2446e0e2e9c9aaa5f8e8c7ef9a41fe8516054831.tar.xz
qemu-2446e0e2e9c9aaa5f8e8c7ef9a41fe8516054831.zip
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 'include/exec')
0 files changed, 0 insertions, 0 deletions