]> www.infradead.org Git - users/jedix/linux-maple.git/commit
io_uring/napi: remove duplicate io_napi_entry timeout assignation
authorOlivier Langlois <olivier@trillion01.com>
Mon, 12 Aug 2024 00:34:46 +0000 (20:34 -0400)
committerJens Axboe <axboe@kernel.dk>
Mon, 12 Aug 2024 18:11:42 +0000 (12:11 -0600)
commit48cc7ecd3a68e0fbfa281ef1ed6f6b6cb7638390
treef722ea47844146e3d18b8e2c4246f4d967ec8f07
parent84f2eecf95018386c145ada19bb45b03bdb80d9e
io_uring/napi: remove duplicate io_napi_entry timeout assignation

io_napi_entry() has 2 calling sites. One of them is unlikely to find an
entry and if it does, the timeout should arguable not be updated.

The other io_napi_entry() calling site is overwriting the update made
by io_napi_entry() so the io_napi_entry() timeout value update has no or
little value and therefore is removed.

Signed-off-by: Olivier Langlois <olivier@trillion01.com>
Link: https://lore.kernel.org/r/145b54ff179f87609e20dffaf5563c07cdbcad1a.1723423275.git.olivier@trillion01.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/napi.c