Re: [PATCH] io_uring/eventfd: reset deferred signal state

From: Jens Axboe

Date: Mon May 04 2026 - 01:10:54 EST



On Mon, 04 May 2026 01:57:10 +0800, Yufan Chen wrote:
> Recursive eventfd wakeups must defer io_uring eventfd signaling because
> eventfd_signal_mask() rejects reentry from eventfd wakeup handlers. The
> io_ev_fd ops bit tracks an outstanding deferred signal so that the same
> rcu_head is not queued twice.
>
> That bit is only set today. Once the first deferred callback runs, later
> recursive notifications still see the bit set and skip queueing another
> deferred signal. This can leave new completions without a matching eventfd
> wake after the first recursive deferral.
>
> [...]

Applied, thanks!

[1/1] io_uring/eventfd: reset deferred signal state
commit: 0f32b6daa03ab8c1831f650d617f59447af31172

Best regards,
--
Jens Axboe