mbox series

[0/2] LAZY_WAKE misuse fixes

Message ID cover.1714488419.git.asml.silence@gmail.com (mailing list archive)
Headers show
Series LAZY_WAKE misuse fixes | expand

Message

Pavel Begunkov April 30, 2024, 3:42 p.m. UTC
LAZY_WAKE can't be used with requests for which users expect >1 CQE,
otherwise wait(nr=2) may get stuck waiting for a tw that will never
arrive. Fix up invalid use of LAZY_WAKE with sendzc.

Pavel Begunkov (2):
  io_uring/net: fix sendzc lazy wake polling
  io_uring/notif: disable LAZY_WAKE for linked notifs

 io_uring/net.c   | 1 +
 io_uring/notif.c | 5 ++++-
 2 files changed, 5 insertions(+), 1 deletion(-)

Comments

Jens Axboe April 30, 2024, 7:06 p.m. UTC | #1
On Tue, 30 Apr 2024 16:42:29 +0100, Pavel Begunkov wrote:
> LAZY_WAKE can't be used with requests for which users expect >1 CQE,
> otherwise wait(nr=2) may get stuck waiting for a tw that will never
> arrive. Fix up invalid use of LAZY_WAKE with sendzc.
> 
> Pavel Begunkov (2):
>   io_uring/net: fix sendzc lazy wake polling
>   io_uring/notif: disable LAZY_WAKE for linked notifs
> 
> [...]

Applied, thanks!

[1/2] io_uring/net: fix sendzc lazy wake polling
      commit: ef42b85a5609cd822ca0a68dd2bef2b12b5d1ca3
[2/2] io_uring/notif: disable LAZY_WAKE for linked notifs
      commit: 19352a1d395424b5f8c03289a85fbd6622d6601a

Best regards,