Skip to content

io-uring missed wakeup.

Kenneth Johansson qemu-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2tests/unit/test-aio: aio_notify() after aio_poll() in the glib looptests/unit/test-aio.c+33 -00 replies
2/2fdmon-io_uring: submit re-armed poll sqes after dispatching handlersinclude/qemu/aio.h util/aio-posix.c util/fdmon-io_uring.c+29 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] io-uring missed wakeup.

When running code under qemu-system-arm a timer calibration loop early in the startup that takes a few milliseconds on hardware took 4-7s and sometimes over 60 seconds to finish.

This stall did go away if qemu was compiled with --disable-linux-io-uring. This is an attempt creating a testcase showing the issue and a fix.

Problem looks to be present for about a year. introduced in commit ded29e64c6f3 ("aio-posix: integrate fdmon into glib event loop")

Kenneth Johansson (2):
tests/unit/test-aio: aio_notify() after aio_poll() in the glib loop
fdmon-io_uring: submit re-armed poll sqes after dispatching handlers

 include/qemu/aio.h    | 10 ++++++++++
 tests/unit/test-aio.c | 33 +++++++++++++++++++++++++++++++++
 util/aio-posix.c      |  4 ++++
 util/fdmon-io_uring.c | 15 +++++++++++++++
 4 files changed, 62 insertions(+)
Signature · 1 line
2.51.0