diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2024-04-30 16:42:31 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2024-04-30 13:06:27 -0600 |
commit | 19352a1d395424b5f8c03289a85fbd6622d6601a (patch) | |
tree | a7ffa54ef375e0f7fc595069150ef71e0fbb65ca /net/unix/af_unix.c | |
parent | ef42b85a5609cd822ca0a68dd2bef2b12b5d1ca3 (diff) |
io_uring/notif: disable LAZY_WAKE for linked notifs
Notifications may now be linked and thus a single tw can post multiple
CQEs, it's not safe to use LAZY_WAKE with them. Disable LAZY_WAKE for
now, if that'd prove to be a problem we can count them and pass the
expected number of CQEs into __io_req_task_work_add().
Fixes: 6fe4220912d19 ("io_uring/notif: implement notification stacking")
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/0a5accdb7d2d0d27ebec14f8106e14e0192fae17.1714488419.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions