Re: [PATCH 6/6] io_uring/epoll: disallow adding an epoll file to an epoll context

Jens Axboe <[email protected]> Thu, 30 Jul 2026 10:25:06 -0600
Newsgroups org.kernel.vger.io-uring,org.kernel.vger.linux-fsdevel
Message-ID <[email protected]>
On 7/29/26 9:09 AM, Linus Torvalds wrote:
> On Wed, 29 Jul 2026 at 03:54, Jens Axboe <[email protected]> wrote:
>>
>> I think it's pretty simple - if libuv is using nesting already, then
>> we will have to revert this single commit before 7.2 release.
> 
> Yup. What a horrible interface epoll is, and now it's made io_uring
> have any bugs it has. Oh well. Horrid or not, the first rule of kernel
> fight club is that we beat ourselves up to keep compatibility.

Exactly, no other recourse here than to just revert it. Unfortunately
my io_uring-7.2 branch is from pre merging of the epoll changes, as those
went in separately. Hence I can either prep a revert for you separately,
or you can just revert cfa1539b24af yourself since you have the context
as well. Let me know what you prefer!

-- 
Jens Axboe