diff options
| author | Olivier Langlois <[email protected]> | 2024-08-11 18:07:11 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2024-08-12 18:09:03 +0000 |
| commit | 84f2eecf95018386c145ada19bb45b03bdb80d9e (patch) | |
| tree | ea68b33e4d44a82bed6dd67e86d41bce84894162 /lib/debugobjects.c | |
| parent | io_uring/net: don't pick multiple buffers for non-bundle send (diff) | |
| download | kernel-84f2eecf95018386c145ada19bb45b03bdb80d9e.tar.gz kernel-84f2eecf95018386c145ada19bb45b03bdb80d9e.zip | |
io_uring/napi: check napi_enabled in io_napi_add() before proceeding
doing so avoids the overhead of adding napi ids to all the rings that do
not enable napi.
if no id is added to napi_list because napi is disabled,
__io_napi_busy_loop() will not be called.
Signed-off-by: Olivier Langlois <[email protected]>
Fixes: b4ccc4dd1330 ("io_uring/napi: enable even with a timeout of 0")
Link: https://lore.kernel.org/r/bd989ccef5fda14f5fd9888faf4fefcf66bd0369.1723400131.git.olivier@trillion01.com
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions
