diff options
| author | Dylan Yudaken <[email protected]> | 2022-03-25 02:37:55 -0700 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2022-03-25 06:30:23 -0600 |
| commit | 52dd86406dfa322c8d42b3a4328858abdc6f1d85 (patch) | |
| tree | 401c67c36d89fd07932342b741a74d1c745dc933 /drivers/fpga/xilinx-selectmap.c | |
| parent | 34d2bfe7d4b65b375d0edf704133a6b6970f9d81 (diff) | |
io_uring: enable EPOLLEXCLUSIVE for accept poll
When polling sockets for accept, use EPOLLEXCLUSIVE. This is helpful
when multiple accept SQEs are submitted.
For O_NONBLOCK sockets multiple queued SQEs would previously have all
completed at once, but most with -EAGAIN as the result. Now only one
wakes up and completes.
For sockets without O_NONBLOCK there is no user facing change, but
internally the extra requests would previously be queued onto a worker
thread as they would wake up with no connection waiting, and be
punted. Now they do not wake up unnecessarily.
Co-developed-by: Jens Axboe <[email protected]>
Signed-off-by: Dylan Yudaken <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/fpga/xilinx-selectmap.c')
0 files changed, 0 insertions, 0 deletions