summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorLaurent Vivier <lvivier@redhat.com>2021-10-28 12:11:09 +0200
committerMichael S. Tsirkin <mst@redhat.com>2021-11-01 05:26:47 -0400
commit2bb31abdbe55742c89f4dc0cc26fcbc8467364f6 (patch)
tree01b68862fd708500288f496dc241e3799124c288 /tools/perf/scripts/python/export-to-sqlite.py
parentbf3175bc50a3754dc427e2f5046e17a9fafc8be7 (diff)
hwrng: virtio - don't wait on cleanup
When virtio-rng device was dropped by the hwrng core we were forced to wait the buffer to come back from the device to not have remaining ongoing operation that could spoil the buffer. But now, as the buffer is internal to the virtio-rng we can release the waiting loop immediately, the buffer will be retrieve and use when the virtio-rng driver will be selected again. This avoids to hang on an rng_current write command if the virtio-rng device is blocked by a lack of entropy. This allows to select another entropy source if the current one is empty. Signed-off-by: Laurent Vivier <lvivier@redhat.com> Link: https://lore.kernel.org/r/20211028101111.128049-3-lvivier@redhat.com Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions