Skip to content

Replace io_ring_ctx bitfields with flags

Jens Axboe io-uring 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2io_uring: switch struct io_ring_ctx internal bitfields to flagsinclude/linux/io_uring_types.h io_uring/eventfd.c io_uring/io_uring.c +7 more+80 -734 replies
2/2io_uring: mark known and harmless racy ctx->int_flags usesio_uring/io_uring.c io_uring/io_uring.h io_uring/tw.c+6 -50 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchGabriel Krisman Bertazi
1/2R-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCHSET for-next 0/2] Replace io_ring_ctx bitfields with flags

Hi,

No functional changes here, just gets rid of the bitfields in ctx and replaces then with a single int_flags member and a set of flags. This makes it more obvious that these are manipulated and checked together.

 include/linux/io_uring_types.h | 32 +++++++------
 io_uring/eventfd.c             |  4 +-
 io_uring/io_uring.c            | 82 +++++++++++++++++-----------------
 io_uring/io_uring.h            | 10 +++--
 io_uring/msg_ring.c            |  2 +-
 io_uring/register.c            |  8 ++--
 io_uring/rsrc.c                |  8 ++--
 io_uring/tctx.c                |  2 +-
 io_uring/timeout.c             |  4 +-
 io_uring/tw.c                  |  2 +-
 10 files changed, 81 insertions(+), 73 deletions(-)
Signature · 1 line
Jens Axboe