io-uring.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCHSET for-next 0/2] io_uring waitid cleanups
@ 2025-10-09 17:39 Jens Axboe
  2025-10-09 17:39 ` [PATCH 1/2] io_uring/waitid: have io_waitid_complete() remove wait queue entry Jens Axboe
  2025-10-09 17:39 ` [PATCH 2/2] io_uring/waitid: use io_waitid_remove_wq() consistently Jens Axboe
  0 siblings, 2 replies; 3+ messages in thread
From: Jens Axboe @ 2025-10-09 17:39 UTC (permalink / raw)
  To: io-uring

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.

-- 
Jens Axboe


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-10-09 17:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-09 17:39 [PATCHSET for-next 0/2] io_uring waitid cleanups Jens Axboe
2025-10-09 17:39 ` [PATCH 1/2] io_uring/waitid: have io_waitid_complete() remove wait queue entry Jens Axboe
2025-10-09 17:39 ` [PATCH 2/2] io_uring/waitid: use io_waitid_remove_wq() consistently Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).