Re: [PATCH v2 1/2] fs/epoll: mark epoll_wait tasks TASK_FREEZABLE

From: Christian Brauner

Date: Wed Oct 21 2026 - 09:31:43 EST


On Wed, 21 Oct 2026 12:25:42 +0000, Sadrul Chowdhury wrote:
> During system suspend (freeze_processes) and resume (thaw_processes),
> threads blocked in epoll_wait() sleep in TASK_INTERRUPTIBLE. When
> try_to_freeze_tasks() executes, it must wake up every sleeping thread
> with a synthetic signal so the thread can schedule, run try_to_freeze(),
> enter TASK_FROZEN, and sleep again. Upon resume, the freezer wakes them
> all up simultaneously, only for each thread to re-enter ep_poll(),
> observe no ready I/O events, and call schedule() to go back to sleep.
>
> [...]

Applied to the vfs-7.5.misc branch of the vfs/vfs.git tree.
Patches in the vfs-7.5.misc 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.5.misc

[1/2] fs/epoll: mark epoll_wait tasks TASK_FREEZABLE
https://git.kernel.org/vfs/vfs/c/5f2199f2720c
[2/2] fs/select: mark select and poll tasks TASK_FREEZABLE
https://git.kernel.org/vfs/vfs/c/33ef4cf97c32