linux/include
Pavel Begunkov 305bef9887 io_uring: hide eventfd assumptions in eventfd paths
Some io_uring-eventfd users assume that there won't be spurious wakeups.
That assumption has to be honoured by all io_cqring_ev_posted() callers,
which is inconvenient and from time to time leads to problems but should
be maintained to not break the userspace.

Instead of making the callers track whether a CQE was posted or not, hide
it inside io_eventfd_signal(). It saves ->cached_cq_tail it saw last time
and triggers the eventfd only when ->cached_cq_tail changed since then.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/0ffc66bae37a2513080b601e4370e147faaa72c5.1655684496.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2022-07-24 18:39:14 -06:00
..
acpi
asm-generic mmu_gather: fix the CONFIG_MMU_GATHER_NO_RANGE case 2022-07-22 09:28:34 -07:00
clocksource
crypto
drm drm/scheduler: Don't kill jobs in interrupt context 2022-07-15 10:09:15 -04:00
dt-bindings
keys
kunit
kvm
linux io_uring: hide eventfd assumptions in eventfd paths 2022-07-24 18:39:14 -06:00
math-emu
media
memory
misc
net tcp: Fix data-races around sysctl_tcp_slow_start_after_idle. 2022-07-20 10:14:50 +01:00
pcmcia
ras
rdma
scsi
soc
sound
target
trace io_uring: clean up tracing events 2022-07-24 18:39:14 -06:00
uapi io_uring: add IORING_SETUP_SINGLE_ISSUER 2022-07-24 18:39:13 -06:00
ufs
vdso
video
xen