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(-) -- 2.45.2