diff options
| author | Pavel Begunkov <[email protected]> | 2024-04-10 01:26:54 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2024-04-15 14:10:26 +0000 |
| commit | 8d09a88ef9d3cb7d21d45c39b7b7c31298d23998 (patch) | |
| tree | 17b8ffd1386460decdad9238aa46959e88532e9b /net/unix/af_unix.c | |
| parent | io_uring: open code io_cqring_overflow_flush() (diff) | |
| download | kernel-8d09a88ef9d3cb7d21d45c39b7b7c31298d23998.tar.gz kernel-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 <[email protected]>
Link: https://lore.kernel.org/r/162947df299aa12693ac4b305dacedab32ec7976.1712708261.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
