mbox series

[0/2] introduce tw state

Message ID cover.1679931367.git.asml.silence@gmail.com (mailing list archive)
Headers show
Series introduce tw state | expand

Message

Pavel Begunkov March 27, 2023, 3:38 p.m. UTC
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(-)

Comments

Jens Axboe March 27, 2023, 7:15 p.m. UTC | #1
On Mon, 27 Mar 2023 16:38:13 +0100, Pavel Begunkov wrote:
> 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
> 
> [...]

Applied, thanks!

[1/2] io_uring: remove extra tw trylocks
      commit: f14d58928002ea2fac729531bdf5bc7b1b2fffd1
[2/2] io_uring: encapsulate task_work state
      commit: f14d58928002ea2fac729531bdf5bc7b1b2fffd1

Best regards,