diff options
| author | Stefan Hajnoczi | 2020-06-17 15:21:55 +0200 |
|---|---|---|
| committer | Stefan Hajnoczi | 2020-06-23 16:46:08 +0200 |
| commit | 2446e0e2e9c9aaa5f8e8c7ef9a41fe8516054831 (patch) | |
| tree | cf7b49f174a5c6880ec9e9992c1ae86a4d5a5370 /include/exec/plugin-gen.h | |
| parent | check-block: enable iotests with SafeStack (diff) | |
| download | qemu-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/plugin-gen.h')
0 files changed, 0 insertions, 0 deletions
