Skip to content

io_uring waitid cleanups

Jens Axboe io-uring 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/2io_uring/waitid: have io_waitid_complete() remove wait queue entryio_uring/waitid.c+20 -60 replies
2/2io_uring/waitid: use io_waitid_remove_wq() consistentlyio_uring/waitid.c+11 -40 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCHSET for-next 0/2] io_uring waitid cleanups

Hi,

Just two minor patches cleaning up the waitid bits a bit. Not fixing any bugs, just making it a bit easier to grok and ensuring that wait queue entry list status is consistent with iw->head always. If not on the list, head will be NULL. Also makes the removal consistent, by using a helper for that. This avoids IRQ saving/restoring, and it leaves the entry always in a sane state by using list_del_init() which remove_wait_queue() does not.

Signature · 1 line
Jens Axboe