summary refs log tree commit diff stats
path: root/scripts/tracetool/backend/syslog.py
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 /scripts/tracetool/backend/syslog.py
parentd6d1a65ccab670788b6c30d918ac7bd636513f8e (diff)
downloadfocaccia-qemu-2446e0e2e9c9aaa5f8e8c7ef9a41fe8516054831.tar.gz
focaccia-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 'scripts/tracetool/backend/syslog.py')
0 files changed, 0 insertions, 0 deletions