diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2024-04-10 02:26:54 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2024-04-15 08:10:26 -0600 |
commit | 8d09a88ef9d3cb7d21d45c39b7b7c31298d23998 (patch) | |
tree | 17b8ffd1386460decdad9238aa46959e88532e9b /kernel/scs.c | |
parent | 408024b959275ba52c233c647901cacfc8d5a226 (diff) | |
download | linux-stable-8d09a88ef9d3cb7d21d45c39b7b7c31298d23998.tar.gz linux-stable-8d09a88ef9d3cb7d21d45c39b7b7c31298d23998.tar.bz2 linux-stable-8d09a88ef9d3cb7d21d45c39b7b7c31298d23998.zip |
io_uring: always lock __io_cqring_overflow_flush
Conditional locking is never great, in case of
__io_cqring_overflow_flush(), which is a slow path, it's not justified.
Don't handle IOPOLL separately, always grab uring_lock for overflow
flushing.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/162947df299aa12693ac4b305dacedab32ec7976.1712708261.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'kernel/scs.c')
0 files changed, 0 insertions, 0 deletions