Re: (subset) [PATCHSET v2 0/6] io_uring related epoll cleanups
Christian Brauner <[email protected]>
| Newsgroups | org.kernel.vger.io-uring,org.kernel.vger.linux-fsdevel |
|---|---|
| Message-ID | <20260515-lachnummer-havarie-c6e68d7fe5ef@brauner> |
On Thu, 14 May 2026 08:07:16 -0600, Jens Axboe wrote:
> One of the nastier things about epoll is how it allows nesting contexts
> inside each other, leading to the necessity of loop detection and the
> issues that have come with that.
>
> I don't believe there's any reason to support nesting on the io_uring
> side, in fact IORING_OP_EPOLL_CTL is a historical mistake, imho. But
> let's at least try and contain the damage and disallow nested contexts
> from our side.
>
> [...]
@Jens, I added the epoll specific change to vfs-7.2.eventpoll. There
were quite some merge conflicts now that I had to fix up. Please take a
look and make sure it's sane. Otherwise I'm going to push this and will
keep the branch stable.
---
Applied to the vfs-7.2.eventpoll branch of the vfs/vfs.git tree.
Patches in the vfs-7.2.eventpoll branch should appear in linux-next soon.
Please report any outstanding bugs that were missed during review in a
new review to the original patch series allowing us to drop it.
It's encouraged to provide Acked-bys and Reviewed-bys even though the
patch has now been applied. If possible patch trailers will be updated.
Note that commit hashes shown below are subject to change due to rebase,
trailer updates or similar. If in doubt, please check the listed branch.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git
branch: vfs-7.2.eventpoll
[1/6] eventpoll: pass struct epoll_filefd through ep_find() and ep_insert()
https://git.kernel.org/vfs/vfs/c/a5b8d2cc7243
[2/6] eventpoll: export is_file_epoll()
https://git.kernel.org/vfs/vfs/c/1a113455c097
[3/6] eventpoll: add file based control interface
https://git.kernel.org/vfs/vfs/c/f6547914f5bc
[4/6] eventpoll: rename struct epoll_filefd to epoll_key
https://git.kernel.org/vfs/vfs/c/8176d6935d79