[PATCH RESEND v2 15/30] profiling: let procfs copy out reads of /proc/profile
sashiko-bot at kernel.org
sashiko-bot at kernel.org
Thu Nov 5 11:57:57 PST 2026
> Fill the buffer procfs hands to ->proc_read_buf() instead of reading
> straight into userspace. readprofile reads the whole file in one go, so
> ask for PROC_ENTRY_FULL_READS and procfs fills such a read in pieces.
> The file is read through ->read_iter() now, so sendfile() and splice()
> work on it like on the other converted entries.
>
> 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=15
More information about the kexec
mailing list