[PATCH RESEND v2 20/30] sched/psi: let procfs own the wait queue of the pressure files
sashiko-bot at kernel.org
sashiko-bot at kernel.org
Thu Nov 5 11:58:09 PST 2026
> A trigger on one of the /proc/pressure files has a wait queue of its
> own for its poller, the cgroup pressure files use the queue of their
> kernfs node through kernfs_generic_poll() and kernfs_notify(). procfs
> owns the queue of its pressure files now, so use it the same way: the
> poll_wait() is procfs', and a trigger that fires wakes the pollers of
> its file with proc_poll_notify(). Like for the cgroup files every
> poller of the file is woken when any trigger on it fires, and each
> reports the state of its own trigger. psi_trigger_poll() doesn't need
> the file anymore.
>
> Signed-off-by: Christian Brauner (Amutable) <brauner at kernel.org>
Sashiko has reviewed this patch and found no issues.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261104-work-procfs-fs-v2-0-319e0f9a8aae@kernel.org?part=20
More information about the kexec
mailing list