Re: [PATCH v2] io_uring/wait: wake real-time waiters from hard interrupt context

From: Jens Axboe

Date: Mon Oct 19 2026 - 17:02:56 EST



On Sat, 17 Oct 2026 10:17:26 -0700, Austin Schuh wrote:
> Since commit cebf123c634a ("io_uring: implement our own schedule timeout
> handling"), a CQ wait with a timeout sleeps on io_uring's own hrtimer
> instead of an hrtimer sleeper. On PREEMPT_RT, an hrtimer that isn't
> marked for hard interrupt expiry expires in the per-CPU ktimers thread,
> which runs at SCHED_FIFO 1. A real-time task waiting in io_uring_enter()
> is therefore not woken at its deadline while any other real-time task is
> runnable on its CPU: the wakeup waits until every one of them has blocked.
>
> [...]

Applied, thanks!

[1/1] io_uring/wait: wake real-time waiters from hard interrupt context
commit: 5b01d5955ac206e38097f777eff6ab2a8b948c41

Best regards,
--
Jens Axboe