Skip to content

io_uring: minor sqpoll code refactoring

Olivier Langlois io-uring 1 version Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 5 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2io_uring: micro optimization of __io_sq_thread() conditionio_uring/sqpoll.c+1 -11 reply
2/2io_uring: do the sqpoll napi busy poll outside the submission blockio_uring/napi.h io_uring/sqpoll.c+13 -33 replies

Reviews trailers per patch

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

PatchPavel Begunkov
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 [PATCH 0/2] io_uring: minor sqpoll code refactoring

the first patch is minor micro-optimization that attempts to avoid a memory access if by testing a variable to is very likely already in a register

the second patch is also minor but this is much more serious. Without it, it is possible to have a ring that is configured to enable NAPI busy polling to NOT perform busy polling in specific conditions.

Olivier Langlois (2):
io_uring: micro optimization of __io_sq_thread() condition
io_uring: do the sqpoll napi busy poll outside the submission block

 io_uring/napi.h   | 9 +++++++++
 io_uring/sqpoll.c | 9 +++++----
 2 files changed, 14 insertions(+), 4 deletions(-)
Signature · 1 line
2.45.2