public inbox for [email protected]
 help / color / mirror / Atom feed
* [PATCH 0/2] introduce tw state
@ 2023-03-27 15:38 Pavel Begunkov
  2023-03-27 15:38 ` [PATCH 1/2] io_uring: remove extra tw trylocks Pavel Begunkov
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Pavel Begunkov @ 2023-03-27 15:38 UTC (permalink / raw)
  To: io-uring; +Cc: Jens Axboe, asml.silence

Add a task_work state instead of passing a raw bool pointer. This
will better encapsulate it, e.g. to not expose too much to cmd
requests, and may also be needed for further extensions.

Pavel Begunkov (2):
  io_uring: remove extra tw trylocks
  io_uring: encapsulate task_work state

 include/linux/io_uring_types.h |  7 +++-
 io_uring/io_uring.c            | 74 +++++++++++++++++-----------------
 io_uring/io_uring.h            | 14 +++----
 io_uring/notif.c               |  4 +-
 io_uring/poll.c                | 32 +++++++--------
 io_uring/rw.c                  |  6 +--
 io_uring/timeout.c             | 14 +++----
 io_uring/uring_cmd.c           |  2 +-
 8 files changed, 79 insertions(+), 74 deletions(-)

-- 
2.39.1


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

end of thread, other threads:[~2023-03-27 19:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-27 15:38 [PATCH 0/2] introduce tw state Pavel Begunkov
2023-03-27 15:38 ` [PATCH 1/2] io_uring: remove extra tw trylocks Pavel Begunkov
2023-03-27 15:38 ` [PATCH 2/2] io_uring: encapsulate task_work state Pavel Begunkov
2023-03-27 19:15 ` [PATCH 0/2] introduce tw state Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox